renamed arg stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 06 Jul 2009 09:44:53 +0200
branchstable
changeset 2269 0d1b7206fdc9
parent 2268 2f336fd5e040
child 2270 70c0da0f2181
renamed arg
server/sources/pyrorql.py
--- a/server/sources/pyrorql.py	Mon Jul 06 09:34:51 2009 +0200
+++ b/server/sources/pyrorql.py	Mon Jul 06 09:44:53 2009 +0200
@@ -212,7 +212,7 @@
         nsgroup = self.config.get('pyro-ns-group') or self.repo.config['pyro-ns-group']
         #cnxprops = ConnectionProperties(cnxtype=self.config['cnx-type'])
         return dbapi.connect(database=self.config['pyro-ns-id'],
-                             user=self.config['cubicweb-user'],
+                             login=self.config['cubicweb-user'],
                              password=self.config['cubicweb-password'],
                              host=nshost, port=nsport, group=nsgroup,
                              setvreg=False) #cnxprops=cnxprops)