Commit 785dbf7f authored by Nicolas Delaby's avatar Nicolas Delaby

Version of python-memcached 1.45 and above do not need this patch

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30922 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 18cb08ba
...@@ -21,7 +21,7 @@ try: ...@@ -21,7 +21,7 @@ try:
import memcache import memcache
except ImportError: except ImportError:
memcache = None memcache = None
if memcache is not None: if memcache is not None and memcache.__version__ < '1.45':
Client = memcache.Client Client = memcache.Client
SERVER_MAX_KEY_LENGTH = memcache.SERVER_MAX_KEY_LENGTH SERVER_MAX_KEY_LENGTH = memcache.SERVER_MAX_KEY_LENGTH
SERVER_MAX_VALUE_LENGTH = memcache.SERVER_MAX_VALUE_LENGTH SERVER_MAX_VALUE_LENGTH = memcache.SERVER_MAX_VALUE_LENGTH
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment