Commit 8723acd4 authored by Jean-Paul Smets's avatar Jean-Paul Smets

fixed flush commit bug


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@347 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d84be783
......@@ -154,7 +154,7 @@ class SQLDict(RAMDict):
if commit: get_transaction().abort() # If not, abort transaction and start a new one
else:
activity_tool.SQLDict_delMessage(path=path, method_id=method_id) # Delete all
if commit: get_transaction().abort() # Commit flush
if commit: get_transaction().commit() # Commit flush
def getMessageList(self, activity_tool, processing_node=None):
message_list = []
......
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