server/hooks.py
branchstable
changeset 3618 ad04840ab25c
parent 3617 9036a8fbbd57
child 3628 440931181322
--- a/server/hooks.py	Thu Oct 08 11:58:19 2009 +0200
+++ b/server/hooks.py	Thu Oct 08 12:00:58 2009 +0200
@@ -520,7 +520,6 @@
                 raise ValidationError(entity.eid, {'by_transition': msg})
             if not tr.has_input_state(fromstate):
                 msg = session._("transition isn't allowed")
-                print tr.name, fromstate.name, entity.by_transition
                 raise ValidationError(entity.eid, {'by_transition': msg})
             if not tr.may_be_fired(foreid):
                 msg = session._("transition may not be fired")