server/repository.py
changeset 8537 e30d0a7f0087
parent 8456 c912d82f2166
child 8538 00597256de18
equal deleted inserted replaced
8535:268b6349baf3 8537:e30d0a7f0087
   196         if config.quick_start:
   196         if config.quick_start:
   197             # quick start, usually only to get a minimal repository to get cubes
   197             # quick start, usually only to get a minimal repository to get cubes
   198             # information (eg dump/restore/...)
   198             # information (eg dump/restore/...)
   199             config._cubes = ()
   199             config._cubes = ()
   200             # only load hooks and entity classes in the registry
   200             # only load hooks and entity classes in the registry
   201             config.__class__.cube_appobject_path = set(('hooks', 'entities'))
   201             config.cube_appobject_path = set(('hooks', 'entities'))
   202             config.__class__.cubicweb_appobject_path = set(('hooks', 'entities'))
   202             config.cubicweb_appobject_path = set(('hooks', 'entities'))
   203             self.set_schema(config.load_schema())
   203             self.set_schema(config.load_schema())
   204             config['connections-pool-size'] = 1
   204             config['connections-pool-size'] = 1
   205             # will be reinitialized later from cubes found in the database
   205             # will be reinitialized later from cubes found in the database
   206             config._cubes = None
   206             config._cubes = None
   207         elif config.creating:
   207         elif config.creating: