cwctl.py
branchstable
changeset 4524 2eb36514ad6d
parent 4064 3b12e4192983
child 4525 956a0630abc8
equal deleted inserted replaced
4505:a82af6b000f2 4524:2eb36514ad6d
   761           'group': 'remote'
   761           'group': 'remote'
   762           }),
   762           }),
   763         )
   763         )
   764 
   764 
   765     def run(self, args):
   765     def run(self, args):
   766         appid = pop_arg(args, 99, msg="No instance specified !")
   766         appid = pop_arg(args, None, msg="No instance specified !")
   767         if self.config.pyro:
   767         if self.config.pyro:
   768             from cubicweb import AuthenticationError
   768             from cubicweb import AuthenticationError
   769             from cubicweb.dbapi import connect
   769             from cubicweb.dbapi import connect
   770             from cubicweb.server.utils import manager_userpasswd
   770             from cubicweb.server.utils import manager_userpasswd
   771             from cubicweb.server.migractions import ServerMigrationHelper
   771             from cubicweb.server.migractions import ServerMigrationHelper