[workflow] fix NameError in fire_transition() stable
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Fri, 16 Oct 2009 08:14:34 +0200
branchstable
changeset 3695 4dd26ca635ed
parent 3694 33dbb1da1db9
child 3697 f752f9e91f40
[workflow] fix NameError in fire_transition()
entities/wfobjs.py
--- a/entities/wfobjs.py	Thu Oct 15 20:31:55 2009 +0200
+++ b/entities/wfobjs.py	Fri Oct 16 08:14:34 2009 +0200
@@ -449,7 +449,7 @@
             kwargs['by_transition'] = self.req.entity_from_eid(treid)
         if tseid is not None:
             kwargs['to_state'] = self.req.entity_from_eid(tseid)
-        return self.req.create_entity('TrInfo', *args, **kwargs)
+        return self.req.create_entity('TrInfo', **kwargs)
 
     def fire_transition(self, tr, comment=None, commentformat=None):
         """change the entity's state by firing transition of the given name in