You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gump.apache.org by aj...@apache.org on 2004/10/12 23:44:40 UTC

svn commit: rev 54702 - gump/trunk/python/gump/core/model

Author: ajack
Date: Tue Oct 12 14:44:40 2004
New Revision: 54702

Modified:
   gump/trunk/python/gump/core/model/state.py
Log:
hasReason was giving the reverse answer.

Modified: gump/trunk/python/gump/core/model/state.py
==============================================================================
--- gump/trunk/python/gump/core/model/state.py	(original)
+++ gump/trunk/python/gump/core/model/state.py	Tue Oct 12 14:44:40 2004
@@ -241,7 +241,7 @@
         return self.statePair.getStateDescription()
         
     def hasReason(self):
-        return self.statePair.isReasonUnset()
+        return not self.statePair.isReasonUnset()
         
     def getReason(self):
         return self.statePair.reason