Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
0ceb6956
Commit
0ceb6956
authored
Dec 31, 2012
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop unused global and duplicate import.
parent
8e0674d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
product/ERP5Type/Tool/MemcachedTool.py
product/ERP5Type/Tool/MemcachedTool.py
+0
-2
No files found.
product/ERP5Type/Tool/MemcachedTool.py
View file @
0ceb6956
...
@@ -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
):
"""
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment