summaryrefslogtreecommitdiff
path: root/memcache.py
diff options
context:
space:
mode:
authorSean Reifschneider <jafo@tummy.com>2013-05-06 07:21:01 -0600
committerSean Reifschneider <jafo@tummy.com>2013-05-06 07:21:01 -0600
commit72082f85b84f60ae2be114704a98632e7e5d614b (patch)
tree7e055b2b1e5244f6f1608c98a53ffa6c3bf47033 /memcache.py
parent07498a0243d34562709f4b3760463dbd23db2ede (diff)
downloadpython-memcached-72082f85b84f60ae2be114704a98632e7e5d614b.tar.gz
Changing check_key to check_keys.release-1.49
Diffstat (limited to 'memcache.py')
-rw-r--r--memcache.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/memcache.py b/memcache.py
index 4865b90..c4deb98 100644
--- a/memcache.py
+++ b/memcache.py
@@ -163,7 +163,7 @@ class Client(local):
server_max_key_length=SERVER_MAX_KEY_LENGTH,
server_max_value_length=SERVER_MAX_VALUE_LENGTH,
dead_retry=_DEAD_RETRY, socket_timeout=_SOCKET_TIMEOUT,
- cache_cas = False, flush_on_reconnect=0, check_key=True):
+ cache_cas = False, flush_on_reconnect=0, check_keys=True):
"""
Create a new Client object with the given list of servers.
@@ -196,7 +196,7 @@ class Client(local):
back, those keys will map to it again. If it still has its data, get()s
can read stale data that was overwritten on another server. This flag
is off by default for backwards compatibility.
- @param check_key: (default True) If True, the key is checked to
+ @param check_keys: (default True) If True, the key is checked to
ensure it is the correct length and composed of the right characters.
"""
local.__init__(self)
@@ -208,7 +208,7 @@ class Client(local):
self.stats = {}
self.cache_cas = cache_cas
self.reset_cas()
- self.do_check_key = check_key
+ self.do_check_key = check_keys
# Allow users to modify pickling/unpickling behavior
self.pickleProtocol = pickleProtocol