server/serverctl.py
branchstable
changeset 6184 da580218a5b3
parent 6138 65f5e488f983
child 6299 51a9494b5efb
equal deleted inserted replaced
6183:fcb9d90b622e 6184:da580218a5b3
   812          ),
   812          ),
   813 
   813 
   814         )
   814         )
   815 
   815 
   816     def run(self, args):
   816     def run(self, args):
       
   817         from cubicweb.server.checkintegrity import check
   817         appid = args[0]
   818         appid = args[0]
   818         config = ServerConfiguration.config_for(appid)
   819         config = ServerConfiguration.config_for(appid)
   819         config.repairing = self.config.force
   820         config.repairing = self.config.force
   820         repo, cnx = repo_cnx(config)
   821         repo, cnx = repo_cnx(config)
   821         check(repo, cnx,
   822         check(repo, cnx,