entities/wfobjs.py
branchstable
changeset 4403 53f5d52085b4
parent 4212 ab6573088b4a
child 4436 294e084f1263
--- 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)