server/serverctl.py
branchtls-sprint
changeset 1682 36bd5cba09de
parent 1469 ba9759972b52
child 1912 2b9432262240
equal deleted inserted replaced
1681:1586c0ed9a92 1682:36bd5cba09de
   137     while True:
   137     while True:
   138         try:
   138         try:
   139             return in_memory_cnx(config, login, pwd)
   139             return in_memory_cnx(config, login, pwd)
   140         except AuthenticationError:
   140         except AuthenticationError:
   141             print 'wrong user/password'
   141             print 'wrong user/password'
       
   142             # reset cubes else we'll have an assertion error on next retry
       
   143             config._cubes = None
   142         login, pwd = manager_userpasswd()
   144         login, pwd = manager_userpasswd()
   143 
   145 
   144 # repository specific command handlers ########################################
   146 # repository specific command handlers ########################################
   145 
   147 
   146 class RepositoryCreateHandler(CommandHandler):
   148 class RepositoryCreateHandler(CommandHandler):