clarify warning message

This commit is contained in:
David Rose 2005-01-12 03:22:38 +00:00
parent 7a03d33626
commit 61077696b3

View File

@ -177,7 +177,7 @@ class FSM(DirectObject.DirectObject):
self.notify.debug("%s.request(%s, %s" % (self.name, request, str(args)[1:]))
if not self.state:
self.notify.warning("rejecting request %s while FSM is in transition." % (request))
self.notify.warning("rejecting request %s while FSM is in transition from %s to %s." % (request, self.oldState, self.newState))
return None
func = getattr(self, "filter" + self.state, None)