entities/wfobjs.py
changeset 4436 294e084f1263
parent 4252 6c4f109c2b03
parent 4403 53f5d52085b4
child 4644 021035b9a7ab
--- a/entities/wfobjs.py	Tue Feb 02 18:24:45 2010 +0100
+++ b/entities/wfobjs.py	Wed Feb 03 14:46:32 2010 +0100
@@ -491,7 +491,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)