Commit 07e68def authored by Alexandre Boeglin's avatar Alexandre Boeglin

Removed useless logging.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2731 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent da6240bd
...@@ -202,12 +202,12 @@ class CopyContainer: ...@@ -202,12 +202,12 @@ class CopyContainer:
try : try :
pw.doActionFor(self_base, 'edit_action', wf_id='edit_workflow', comment='Object copied from %s' % source_item) pw.doActionFor(self_base, 'edit_action', wf_id='edit_workflow', comment='Object copied from %s' % source_item)
except : except :
LOG('manage_afterPaste :', 0, '''Impossible to call transition 'edit_action' of 'edit_workflow' for %s''' % self.getRelativeUrl()) pass
else : else :
try : try :
pw.doActionFor(self_base, 'edit_action', wf_id='edit_workflow', comment='Object copied as %s' % item.getId()) pw.doActionFor(self_base, 'edit_action', wf_id='edit_workflow', comment='Object copied as %s' % item.getId())
except : except :
LOG('manage_afterPaste :', 0, '''Impossible to call transition 'edit_action' of 'edit_workflow' for %s''' % self.getRelativeUrl()) pass
self.__recurse('manage_afterClone', item) self.__recurse('manage_afterClone', item)
......
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