Commit 56263971 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

[workflow] fix warning: we want to see the adapted entity, not the adapter

--HG--
branch : stable
parent d16b42c1e517
......@@ -489,7 +489,7 @@ class IWorkflowableAdapter(WorkflowableMixIn, EntityAdapter):
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment