server/migractions.py
changeset 3659 993997b4b41d
parent 3589 a5432f99f2d9
child 3720 5376aaadd16b
--- a/server/migractions.py	Tue Oct 13 16:00:09 2009 +0200
+++ b/server/migractions.py	Tue Oct 13 18:20:05 2009 +0200
@@ -212,7 +212,7 @@
                 login, pwd = manager_userpasswd()
             while True:
                 try:
-                    self._cnx = repo_connect(self.repo, login, pwd)
+                    self._cnx = repo_connect(self.repo, login, password=pwd)
                     if not 'managers' in self._cnx.user(self.session).groups:
                         print 'migration need an account in the managers group'
                     else: