[transaction] keep a reference to the repo object
authorPierre-Yves David <pierre-yves.david@logilab.fr>
Fri, 29 Mar 2013 12:34:53 +0100
changeset 8842 63fa6b02b241
parent 8841 f62fb831cfe6
child 8843 ea05b8545dd8
[transaction] keep a reference to the repo object
server/session.py
--- a/server/session.py	Fri Mar 29 18:57:13 2013 +0100
+++ b/server/session.py	Fri Mar 29 12:34:53 2013 +0100
@@ -386,6 +386,9 @@
         #: reentrance handling
         self.ctx_count = 0
 
+        #: server.Repository object
+        self.repo = session.repo
+
         #: connection handling mode
         self.mode = session.default_mode
         #: connection set used to execute queries on sources