server/serverctl.py
branchtls-sprint
changeset 1682 36bd5cba09de
parent 1469 ba9759972b52
child 1912 2b9432262240
--- a/server/serverctl.py	Tue May 05 15:39:43 2009 +0200
+++ b/server/serverctl.py	Tue May 05 15:40:07 2009 +0200
@@ -139,6 +139,8 @@
             return in_memory_cnx(config, login, pwd)
         except AuthenticationError:
             print 'wrong user/password'
+            # reset cubes else we'll have an assertion error on next retry
+            config._cubes = None
         login, pwd = manager_userpasswd()
 
 # repository specific command handlers ########################################