Commit f83770d3 authored by wenjie.zheng's avatar wenjie.zheng Committed by Sebastien Robin

Workflow.py remove an unnecessesary exception.

parent 3b5e770b
......@@ -723,8 +723,7 @@ class Workflow(IdAsReferenceMixin("", "prefix"), XMLObject):
# Pass lots of info to the script in a single parameter.
if script.getPortalType() == 'Workflow Script':
script(sci) # May throw an exception.
else:
raise NotImplementedError ('Unsupported Script %s for state %s'%(script_id, old_sdef.getReference()))
# Return the new state object.
if moved_exc is not None:
# Propagate the notification that the object has moved.
......
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