server/repository.py
branchstable
changeset 7305 1f97c05cfbab
parent 7238 576abb8c4626
child 7373 e5e6ef56cfb5
equal deleted inserted replaced
7303:7e7b44406cb1 7305:1f97c05cfbab
   176         if config.quick_start:
   176         if config.quick_start:
   177             # quick start, usually only to get a minimal repository to get cubes
   177             # quick start, usually only to get a minimal repository to get cubes
   178             # information (eg dump/restore/...)
   178             # information (eg dump/restore/...)
   179             config._cubes = ()
   179             config._cubes = ()
   180             # only load hooks and entity classes in the registry
   180             # only load hooks and entity classes in the registry
   181             config.cube_appobject_path = set(('hooks', 'entities'))
   181             config.__class__.cube_appobject_path = set(('hooks', 'entities'))
   182             config.cubicweb_appobject_path = set(('hooks', 'entities'))
   182             config.__class__.cubicweb_appobject_path = set(('hooks', 'entities'))
   183             self.set_schema(config.load_schema())
   183             self.set_schema(config.load_schema())
   184             config['connections-pool-size'] = 1
   184             config['connections-pool-size'] = 1
   185             # will be reinitialized later from cubes found in the database
   185             # will be reinitialized later from cubes found in the database
   186             config._cubes = None
   186             config._cubes = None
   187         elif config.creating:
   187         elif config.creating: