more informative comments

This commit is contained in:
Darren Ranalli 2002-10-09 01:36:36 +00:00
parent ddad37725c
commit a7a32da41d

View File

@ -14,7 +14,7 @@ class FSM(DirectObject):
# these are flags that tell the FSM what to do when an # these are flags that tell the FSM what to do when an
# undefined transition is requested: # undefined transition is requested:
ALLOW = 0 # print a warning, and do the transition ALLOW = 0 # print a warning, and do the transition
DISALLOW = 1 # silently ignore the request DISALLOW = 1 # silently ignore the request (don't do the transition)
DISALLOW_VERBOSE = 2 # print a warning, and don't do the transition DISALLOW_VERBOSE = 2 # print a warning, and don't do the transition
ERROR = 3 # print an error message and raise an exception ERROR = 3 # print an error message and raise an exception
@ -250,7 +250,7 @@ class FSM(DirectObject):
transitionAllowed = 1 transitionAllowed = 1
if not transitionDefined: if not transitionDefined:
# the transition is not defined, but we're going to do it # the transition is not defined, but we're going to do it
# anyway. # anyway. print a warning.
FSM.notify.warning( FSM.notify.warning(
"[%s]: performing undefined transition from %s to %s" % "[%s]: performing undefined transition from %s to %s" %
(self.__name, (self.__name,