Commit eaef290a authored by Nicolas Delaby's avatar Nicolas Delaby

add a coma to avoid error when server_list contains more than one value

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30000 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a3771aa9
No related merge requests found
......@@ -124,11 +124,11 @@ if memcache is not None:
if action is UPDATE_ACTION:
succeed = self.memcached_connection.set(encodeKey(key), self.local_cache[key], 0)
if not succeed:
LOG('MemcacheTool', 0, 'set command to memcached server (%r) failed' % (self.server_list))
LOG('MemcacheTool', 0, 'set command to memcached server (%r) failed' % (self.server_list,))
elif action is DELETE_ACTION:
succeed = self.memcached_connection.delete(encodeKey(key), 0)
if not succeed:
LOG('MemcacheTool', 0, 'delete command to memcached server (%r) failed' % (self.server_list))
LOG('MemcacheTool', 0, 'delete command to memcached server (%r) failed' % (self.server_list,))
except:
LOG('MemcachedDict', 0, 'An exception occured during _finish : %s' % (traceback.format_exc(), ))
self.scheduled_action_dict.clear()
......
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