author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Fri, 04 Dec 2009 19:53:50 +0100 | |
branch | stable |
changeset 4002 | 4edff8bce44b |
parent 4001 | bc31ede2085d |
child 4012 | f6c65e04704c |
child 4057 | a5ec0475601e |
--- a/entities/wfobjs.py Fri Dec 04 19:45:58 2009 +0100 +++ b/entities/wfobjs.py Fri Dec 04 19:53:50 2009 +0100 @@ -164,6 +164,7 @@ {'os': todelstate.eid, 'ns': newstate.eid}, 's') execute('SET X to_state NS WHERE X to_state OS, OS eid %(os)s, NS eid %(ns)s', {'os': todelstate.eid, 'ns': newstate.eid}, 's') + todelstate.delete() class BaseTransition(AnyEntity):