should use .cnx, not ._cnx
authorsylvain.thenault@logilab.fr
Thu, 26 Feb 2009 13:31:29 +0100
changeset 976 84884807b77b
parent 975 0928daea04e9
child 977 d8bb6209edcd
should use .cnx, not ._cnx
devtools/apptest.py
--- a/devtools/apptest.py	Thu Feb 26 13:31:13 2009 +0100
+++ b/devtools/apptest.py	Thu Feb 26 13:31:29 2009 +0100
@@ -453,7 +453,7 @@
         self.__commit = repo.commit
         self.__rollback = repo.rollback
         self.__close = repo.close
-        self.cnxid = self._cnx.sessionid
+        self.cnxid = self.cnx.sessionid
         self.session = repo._sessions[self.cnxid]
         # XXX copy schema since hooks may alter it and it may be not fully
         #     cleaned (missing some schema synchronization support)