--- 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)