Commit 19ab2191 authored by Vincent Pelletier's avatar Vincent Pelletier

Fix some more LOG string typos.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19022 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 63047a3f
...@@ -452,9 +452,9 @@ class SQLDict(RAMDict, SQLBase): ...@@ -452,9 +452,9 @@ class SQLDict(RAMDict, SQLBase):
activity_tool.SQLDict_rollback() activity_tool.SQLDict_rollback()
makeMessageListAvailable(failed_message_uid_list) makeMessageListAvailable(failed_message_uid_list)
except: except:
LOG('SQQueue', PANIC, 'Failed to free remaining messages: %r' % (failed_message_uid_list, ), error=sys.exc_info()) LOG('SQLDict', PANIC, 'Failed to free remaining messages: %r' % (failed_message_uid_list, ), error=sys.exc_info())
else: else:
LOG('SQQueue', TRACE, 'Freed messages %r' % (failed_message_uid_list, )) LOG('SQLDict', TRACE, 'Freed messages %r' % (failed_message_uid_list, ))
if endTransaction == abortTransactionSynchronously: if endTransaction == abortTransactionSynchronously:
LOG('SQLDict', PANIC, 'Failed to abort executed messages. Some objects may be modified accidentally.') LOG('SQLDict', PANIC, 'Failed to abort executed messages. Some objects may be modified accidentally.')
else: else:
......
...@@ -318,9 +318,9 @@ class SQLQueue(RAMQueue, SQLBase): ...@@ -318,9 +318,9 @@ class SQLQueue(RAMQueue, SQLBase):
try: try:
makeMessageListAvailable(to_free_uid_list) makeMessageListAvailable(to_free_uid_list)
except: except:
LOG('SQQueue', PANIC, 'Failed to free remaining messages: %r' % (to_free_uid_list, ), error=sys.exc_info()) LOG('SQLQueue', PANIC, 'Failed to free remaining messages: %r' % (to_free_uid_list, ), error=sys.exc_info())
else: else:
LOG('SQQueue', TRACE, 'Freed messages %r' % (to_free_uid_list, )) LOG('SQLQueue', TRACE, 'Freed messages %r' % (to_free_uid_list, ))
self.finalizeMessageExecution(activity_tool, processed_message_uid_list) self.finalizeMessageExecution(activity_tool, processed_message_uid_list)
get_transaction().commit() get_transaction().commit()
return not len(message_uid_priority_list) return not len(message_uid_priority_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