Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubicweb
Commits
cf869016a823
Commit
56263971
authored
Jan 27, 2011
by
Sylvain Thénault
Browse files
[workflow] fix warning: we want to see the adapted entity, not the adapter
--HG-- branch : stable
parent
d16b42c1e517
Changes
1
Show whitespace changes
Inline
Side-by-side
entities/wfobjs.py
View file @
cf869016
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment