# HG changeset patch # User Sylvain Thénault # Date 1295276246 -3600 # Node ID 6c7adf825b3c451b0b5e1fb97423773cec5866e3 # Parent 7562418985efbf10c3f2abdbf145bf6ec8676f41 [hook] drop now deprecated comment (pop handled by get_data) diff -r 7562418985ef -r 6c7adf825b3c hooks/integrity.py --- a/hooks/integrity.py Mon Jan 17 15:45:26 2011 +0100 +++ b/hooks/integrity.py Mon Jan 17 15:57:26 2011 +0100 @@ -79,8 +79,6 @@ session = self.session pendingeids = session.transaction_data.get('pendingeids', ()) pendingrtypes = session.transaction_data.get('pendingrtypes', ()) - # poping key is not optional: if further operation trigger new deletion - # of relation, we'll need a new operation for eid, rtype in self.get_data(): # recheck pending eids / relation types if eid in pendingeids: @@ -301,8 +299,6 @@ session = self.session pendingeids = session.transaction_data.get('pendingeids', ()) neweids = session.transaction_data.get('neweids', ()) - # poping key is not optional: if further operation trigger new deletion - # of composite relation, we'll need a new operation for eid, rtype in self.get_data(): # don't do anything if the entity is being created or deleted if not (eid in pendingeids or eid in neweids):