Commit 361e3e96 authored by Romain Courteaud's avatar Romain Courteaud

Remove some useless LOG.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2989 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6b17bee6
...@@ -268,10 +268,10 @@ class SQLDict(RAMDict): ...@@ -268,10 +268,10 @@ class SQLDict(RAMDict):
if invoke: if invoke:
# First Validate # First Validate
validate_value = m.validate(self, activity_tool) validate_value = m.validate(self, activity_tool)
LOG('SQLDict.flush validate_value',0,validate_value) # LOG('SQLDict.flush validate_value',0,validate_value)
if validate_value is VALID: if validate_value is VALID:
activity_tool.invoke(m) # Try to invoke the message - what happens if invoke calls flushActivity ?? activity_tool.invoke(m) # Try to invoke the message - what happens if invoke calls flushActivity ??
LOG('SQLDict.flush m.is_executed',0,m.is_executed) # LOG('SQLDict.flush m.is_executed',0,m.is_executed)
if not m.is_executed: # Make sure message could be invoked if not m.is_executed: # Make sure message could be invoked
# The message no longer exists # The message no longer exists
raise ActivityFlushError, ( raise ActivityFlushError, (
...@@ -338,8 +338,8 @@ class SQLDict(RAMDict): ...@@ -338,8 +338,8 @@ class SQLDict(RAMDict):
if type(value) == type(''): if type(value) == type(''):
value = [value] value = [value]
result = activity_tool.SQLDict_validateMessageList(method_id=value, message_uid=None, path=None) result = activity_tool.SQLDict_validateMessageList(method_id=value, message_uid=None, path=None)
LOG('SQLDict._validate_after_method_id, method_id',0,value) # LOG('SQLDict._validate_after_method_id, method_id',0,value)
LOG('SQLDict._validate_after_method_id, result[0].uid_count',0,result[0].uid_count) # LOG('SQLDict._validate_after_method_id, result[0].uid_count',0,result[0].uid_count)
if result[0].uid_count > 0: if result[0].uid_count > 0:
return INVALID_ORDER return INVALID_ORDER
return VALID return VALID
......
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