dbapi.py
changeset 322 0d9aca19b3d0
parent 169 0e031b66cb0b
child 1132 96752791c2b6
--- a/dbapi.py	Mon Jan 05 14:09:18 2009 +0100
+++ b/dbapi.py	Mon Jan 05 14:09:38 2009 +0100
@@ -428,7 +428,7 @@
             raise ProgrammingError('Closed connection')
         return self._repo.source_defs()
 
-    def user(self, req, props=None):
+    def user(self, req=None, props=None):
         """return the User object associated to this connection"""
         # cnx validity is checked by the call to .user_info
         eid, login, groups, properties = self._repo.user_info(self.sessionid, props)