[repoapi] Avoid deprecation warnings from session.id
Apparently it's called session.sessionid now.
--- 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')