dbapi.py
branchstable
changeset 5032 e3fa27fc0d9a
parent 4913 083b4d454192
child 5100 04c71ebf38a5
--- a/dbapi.py	Fri Mar 26 08:30:25 2010 +0100
+++ b/dbapi.py	Fri Mar 26 08:32:32 2010 +0100
@@ -393,13 +393,13 @@
             pass
 
     def check(self):
-        """raise `BadSessionId` if the connection is no more valid"""
+        """raise `BadConnectionId` if the connection is no more valid"""
         if self._closed is not None:
             raise ProgrammingError('Closed connection')
         self._repo.check_session(self.sessionid)
 
     def set_session_props(self, **props):
-        """raise `BadSessionId` if the connection is no more valid"""
+        """raise `BadConnectionId` if the connection is no more valid"""
         if self._closed is not None:
             raise ProgrammingError('Closed connection')
         self._repo.set_session_props(self.sessionid, props)