repoapi.py
changeset 9575 754904ac4248
parent 9554 d2fd866f69a2
child 9582 46ed25d38fe2
--- a/repoapi.py	Tue Feb 18 15:26:22 2014 +0100
+++ b/repoapi.py	Wed Mar 05 11:22:20 2014 +0100
@@ -174,7 +174,7 @@
         if self._autoclose_session:
             # we have to call repo.close to ensure the repo properly forgets the
             # session; calling session.close() is not enough :-(
-            self._session.repo.close(self._session.id)
+            self._session.repo.close(self._session.sessionid)
 
 
     # begin silly BC
@@ -351,7 +351,7 @@
     @ property
     @deprecated('[3.19] This is a repoapi.ClientConnection object not a dbapi one')
     def sessionid(self):
-        return self._session.id
+        return self._session.sessionid
 
     @property
     @deprecated('[3.19] This is a repoapi.ClientConnection object not a dbapi one')