server/migractions.py
branchstable
changeset 5034 4781870e97d9
parent 5019 72734c210836
child 5043 fe52dd3936cf
equal deleted inserted replaced
5033:441191f7def1 5034:4781870e97d9
    67             self._cnx = cnx
    67             self._cnx = cnx
    68             self.repo = repo
    68             self.repo = repo
    69         elif connect:
    69         elif connect:
    70             self.repo_connect()
    70             self.repo_connect()
    71         # no config on shell to a remote instance
    71         # no config on shell to a remote instance
    72         if config is not None:
    72         if config is not None and (cnx or connect):
    73             self.session.data['rebuild-infered'] = False
    73             self.session.data['rebuild-infered'] = False
    74             self.repo.hm.call_hooks('server_maintenance', repo=self.repo)
    74             self.repo.hm.call_hooks('server_maintenance', repo=self.repo)
    75         if not schema:
    75         if not schema:
    76             schema = config.load_schema(expand_cubes=True)
    76             schema = config.load_schema(expand_cubes=True)
    77         self.fs_schema = schema
    77         self.fs_schema = schema