summaryrefslogtreecommitdiff
path: root/memcache.py
diff options
context:
space:
mode:
authorSean Reifschneider <jafo@tummy.com>2010-12-16 02:16:39 -0700
committerSean Reifschneider <jafo@tummy.com>2010-12-16 02:16:39 -0700
commit8b062774384f4370e7b5be068e7bfe7d433a63d9 (patch)
tree27daefdee5c75daca625c0bd5376ccbbba2c4f9b /memcache.py
parent91d21a6a480005fcc1c8606d9c24705b9227fc99 (diff)
downloadpython-memcached-8b062774384f4370e7b5be068e7bfe7d433a63d9.tar.gz
Bug #680359: useoldserverhashfunction is broken
Diffstat (limited to 'memcache.py')
-rw-r--r--memcache.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/memcache.py b/memcache.py
index c533d16..6b001fb 100644
--- a/memcache.py
+++ b/memcache.py
@@ -60,6 +60,7 @@ serverHashFunction = cmemcache_hash
def useOldServerHashFunction():
"""Use the old python-memcache server hash function."""
+ global serverHashFunction
serverHashFunction = crc32
try: