entities/wfobjs.py
branchstable
changeset 6904 cf869016a823
parent 5557 1a534c596bff
child 7293 97505b798975
child 7401 fded980bbd65
--- a/entities/wfobjs.py	Thu Jan 27 13:39:29 2011 +0100
+++ b/entities/wfobjs.py	Thu Jan 27 13:40:01 2011 +0100
@@ -489,7 +489,7 @@
         try:
             return self.current_state.name
         except AttributeError:
-            self.warning('entity %s has no state', self)
+            self.warning('entity %s has no state', self.entity)
             return None
 
     @property