author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Thu, 28 Jan 2010 14:29:52 +0100 | |
branch | stable |
changeset 4403 | 53f5d52085b4 |
parent 4402 | 360c532070f5 |
child 4404 | 1736f29ae4e4 |
--- a/entities/wfobjs.py Thu Jan 28 09:49:50 2010 +0100 +++ b/entities/wfobjs.py Thu Jan 28 14:29:52 2010 +0100 @@ -489,7 +489,7 @@ stateeid = statename.eid else: if not isinstance(statename, basestring): - warn('give a state name') + warn('[3.5] give a state name', DeprecationWarning) state = self.current_workflow.state_by_eid(statename) else: state = self.current_workflow.state_by_name(statename)