Fix memcache.set duplicated `key` arg.
authorHugues Demers <hdemers@gmail.com>
Mon, 2 Apr 2012 20:42:19 +0000 (16:42 -0400)
committerHugues Demers <hdemers@gmail.com>
Mon, 2 Apr 2012 20:42:19 +0000 (16:42 -0400)
tweepy/cache.py

index 6630c49d5df0c6f5e9b3512719948cdb93fe59a4..9a31f58109faac5227b710991a3f162a0a3c289f 100644 (file)
@@ -289,7 +289,7 @@ class MemCacheCache(Cache):
             key: which entry to get
             timeout: override timeout with this value [optional]. DOES NOT WORK HERE
         """
-        return self.client.get(key, key)
+        return self.client.get(key)
 
     def count(self):
         """Get count of entries currently stored in cache. RETURN 0"""