Commit 00b27274 authored by Aurel's avatar Aurel

retrieve uid list that must be deleted by flush

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13239 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3878cf2a
......@@ -450,7 +450,9 @@ class SQLDict(RAMDict):
'Could not validate %s on %s' % (m.method_id , path))
if len(result):
activity_tool.SQLDict_delMessage(uid = [line.uid for line in result])
uid_list = activity_tool.SQLDict_readUidList(path = path, method_id = method_id,
processing_node = None,)
activity_tool.SQLDict_delMessage(uid = [x.uid for x in uid_list])
def getMessageList(self, activity_tool, processing_node=None,include_processing=0,**kw):
# YO: reading all lines might cause a deadlock
......
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