[Erp5-report] r30922 - /erp5/trunk/products/ERP5Type/patches/memcache_client.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Nov 30 13:34:56 CET 2009
Author: nicolas
Date: Mon Nov 30 13:34:54 2009
New Revision: 30922
URL: http://svn.erp5.org?rev=30922&view=rev
Log:
Version of python-memcached 1.45 and above do not need this patch
Modified:
erp5/trunk/products/ERP5Type/patches/memcache_client.py
Modified: erp5/trunk/products/ERP5Type/patches/memcache_client.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/patches/memcache_client.py?rev=30922&r1=30921&r2=30922&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/patches/memcache_client.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/patches/memcache_client.py [utf8] Mon Nov 30 13:34:54 2009
@@ -21,7 +21,7 @@
import memcache
except ImportError:
memcache = None
-if memcache is not None:
+if memcache is not None and memcache.__version__ < '1.45':
Client = memcache.Client
SERVER_MAX_KEY_LENGTH = memcache.SERVER_MAX_KEY_LENGTH
SERVER_MAX_VALUE_LENGTH = memcache.SERVER_MAX_VALUE_LENGTH
More information about the Erp5-report
mailing list