revert to adim fix stable
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Fri, 16 Oct 2009 10:59:11 +0200
branchstable
changeset 3698 9f652194bfb3
parent 3697 f752f9e91f40
child 3703 f8955575541c
child 3711 486a29d66f2a
revert to adim fix
entities/wfobjs.py
--- a/entities/wfobjs.py	Fri Oct 16 10:30:35 2009 +0200
+++ b/entities/wfobjs.py	Fri Oct 16 10:59:11 2009 +0200
@@ -449,8 +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)
-        args = ()
-        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