Commit d4dd3670 authored by Alexandre Boeglin's avatar Alexandre Boeglin

Incomplete statement.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5417 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b940a2e5
......@@ -1122,7 +1122,8 @@ class PortalTypeWorkflowChainTemplateItem(BaseTemplateItem):
workflow = ''
if chain_dict.has_key('chain_%s' % portal_type):
if workflow not in chain_dict['chain_%s' % portal_type]:
raise
raise NotFound, 'workflow %s not found in chain for portal_type %s'\
% (workflow, portal_type)
if self._objects.has_key(portal_type):
workflow_list = self._objects[portal_type]
workflow_list.append(workflow)
......
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