summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: