Commit 0ceb6956 authored by Vincent Pelletier's avatar Vincent Pelletier

Drop unused global and duplicate import.

parent 8e0674d8
...@@ -52,7 +52,6 @@ def encodeKey(key): ...@@ -52,7 +52,6 @@ def encodeKey(key):
memcached_dict_pool = local() memcached_dict_pool = local()
if memcache is not None: if memcache is not None:
# Real memcache tool # Real memcache tool
import memcache
import traceback import traceback
from Shared.DC.ZRDB.TM import TM from Shared.DC.ZRDB.TM import TM
from Products.PythonScripts.Utility import allow_class from Products.PythonScripts.Utility import allow_class
...@@ -61,7 +60,6 @@ if memcache is not None: ...@@ -61,7 +60,6 @@ if memcache is not None:
MARKER = tuple() MARKER = tuple()
UPDATE_ACTION = 'update' UPDATE_ACTION = 'update'
DELETE_ACTION = 'delete' DELETE_ACTION = 'delete'
MEMCACHED_MINIMUM_KEY_CHAR_ORD = ord(' ')
class MemcachedDict(TM): class MemcachedDict(TM):
""" """
......
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