[dbapi] Connection.check() must return the latest activity timestamp (dropped accidentally during latest merge)
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Tue, 21 Sep 2010 16:35:37 +0200
changeset 6293 df44d7163582
parent 6292 054fa36060d5
child 6333 e3994fcc21c3
[dbapi] Connection.check() must return the latest activity timestamp (dropped accidentally during latest merge)
dbapi.py
--- a/dbapi.py	Tue Sep 21 16:33:20 2010 +0200
+++ b/dbapi.py	Tue Sep 21 16:35:37 2010 +0200
@@ -599,7 +599,7 @@
         """raise `BadConnectionId` if the connection is no more valid, else
         return its latest activity timestamp.
         """
-        self._repo.check_session(self.sessionid)
+        return self._repo.check_session(self.sessionid)
 
     def _txid(self, cursor=None): # XXX could now handle various isolation level!
         # return a dict as bw compat trick