# HG changeset patch # User Sylvain Thénault # Date 1296132001 -3600 # Node ID cf869016a823404b4031b0fb8882acf09c80e27d # Parent d16b42c1e517f7511cd6156f106138d8e258ed1d [workflow] fix warning: we want to see the adapted entity, not the adapter diff -r d16b42c1e517 -r cf869016a823 entities/wfobjs.py --- 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