[repo] fix crash introduced in 6625:5c20a005bddc
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 25 Oct 2010 15:52:10 +0200
changeset 6629 edaa96d031b2
parent 6628 7cf5d55cbb8a
child 6630 f516ee1ef36c
[repo] fix crash introduced in 6625:5c20a005bddc
server/repository.py
--- a/server/repository.py	Mon Oct 25 15:46:49 2010 +0200
+++ b/server/repository.py	Mon Oct 25 15:52:10 2010 +0200
@@ -1097,7 +1097,7 @@
         hook.CleanupDeletedEidsCacheOp.get_instance(session).add_data(entity.eid)
         self._delete_info(session, entity, sourceuri, extid, scleanup)
 
-    def _delete_info(self, session, entity, sourceuri, extid, scleanup):
+    def _delete_info(self, session, entity, sourceuri, extid, scleanup=False):
         """delete system information on deletion of an entity:
         * delete all remaining relations from/to this entity
         * call delete info on the system source which will transfer record from