goa/appobjects/sessions.py
changeset 3647 2941f4a0aab9
parent 2887 1282dc6525c5
child 4023 eae23c40627a
--- a/goa/appobjects/sessions.py	Tue Oct 13 08:48:00 2009 +0200
+++ b/goa/appobjects/sessions.py	Tue Oct 13 08:50:19 2009 +0200
@@ -57,7 +57,7 @@
         clear_cache(req, 'cursor')
         cnxprops = ConnectionProperties(self.vreg.config.repo_method,
                                         close=False, log=False)
-        cnx = repo_connect(self._repo, login, password, cnxprops=cnxprops)
+        cnx = repo_connect(self._repo, login, password=password, cnxprops=cnxprops)
         self._init_cnx(cnx, login, password)
         # associate the connection to the current request
         req.set_connection(cnx)