appy.gen: bugfixes in the new workflow engine and in macro 'history'.

This commit is contained in:
Gaetan Delannay 2011-09-09 17:39:58 +02:00
parent 1cd9aaaf69
commit 5be03c2ed4
4 changed files with 16 additions and 6 deletions

View file

@ -951,7 +951,7 @@ class BaseMixin:
# Is this transition triggerable?
transition = getattr(wf, transitionName)
if not transition.isTriggerable(self, wf):
raise 'Transition "%s" can\'t be triggered' % transitionName
raise 'Transition "%s" can\'t be triggered.' % transitionName
# Trigger the transition
transition.trigger(transitionName, self, wf, comment, doAction=doAction,
doNotify=doNotify, doHistory=doHistory, doSay=doSay)