author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Fri, 31 Jul 2009 23:55:50 +0200 | |
changeset 2609 | a0f6fa90cc32 |
parent 2608 | 21856eda34f6 |
child 2610 | 2933cc6bf9ad |
--- a/server/hookhelper.py Fri Jul 31 23:54:20 2009 +0200 +++ b/server/hookhelper.py Fri Jul 31 23:55:50 2009 +0200 @@ -76,6 +76,8 @@ relation hooks, the relation may has been deleted at this point, so we have handle that """ + if eid in session.transaction_data.get('neweids', ()): + return pending = session.transaction_data.get('pendingrelations', ()) for eidfrom, rtype, eidto in reversed(pending): if rtype == 'in_state' and eidfrom == eid: