server/repository.py
changeset 3381 9ddc8937e16d
parent 3379 9192ba07890d
child 3409 c684606a95e0
--- a/server/repository.py	Wed Sep 23 09:34:46 2009 +0200
+++ b/server/repository.py	Wed Sep 23 09:35:11 2009 +0200
@@ -54,7 +54,8 @@
         remove inserted eid from repository type/source cache
         """
         try:
-            self.repo.clear_caches(self.session.transaction_data['pendingeids'])
+            self.session.repo.clear_caches(
+                self.session.transaction_data['pendingeids'])
         except KeyError:
             pass
 
@@ -63,7 +64,8 @@
         remove inserted eid from repository type/source cache
         """
         try:
-            self.repo.clear_caches(self.session.transaction_data['neweids'])
+            self.session.repo.clear_caches(
+                self.session.transaction_data['neweids'])
         except KeyError:
             pass