diff -r 94cc7cad3d2d -r b9436fe77c9e hooks/workflow.py --- a/hooks/workflow.py Thu Dec 03 17:17:43 2009 +0100 +++ b/hooks/workflow.py Mon Dec 07 05:09:09 2009 -0800 @@ -227,7 +227,7 @@ msg = session._("transition %s isn't allowed from %s") % ( _(tr.name), _(fromstate.name)) raise ValidationError(entity.eid, {'by_transition': msg}) - if not tr.may_be_fired(foreid): + if not tr.may_be_fired(foreid): msg = session._("transition may not be fired") raise ValidationError(entity.eid, {'by_transition': msg}) if entity.get('to_state'):