Commit 9e0e08b4 authored by Vincent Pelletier's avatar Vincent Pelletier

Use proper error description.

parent 2a6469f3
......@@ -56,7 +56,7 @@ def addWorkflowFactory(factory, id, title):
in the Workflow Tool.
"""
assert not _workflow_factories.get(id), (
'Workflow with id %r already exists.' % id)
'Workflow factory with id %r already exists.' % id)
factory_info = dict(factory=factory,
id=id,
......
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