web/application.py
changeset 5655 ef903fff826d
parent 5591 c6edefa9b3f1
parent 5650 86e874fe30ea
child 5722 61d6a4caa963
equal deleted inserted replaced
5654:8bb34548be86 5655:ef903fff826d
   291             vreg = cwvreg.CubicWebVRegistry(config)
   291             vreg = cwvreg.CubicWebVRegistry(config)
   292         self.vreg = vreg
   292         self.vreg = vreg
   293         # connect to the repository and get instance's schema
   293         # connect to the repository and get instance's schema
   294         self.repo = config.repository(vreg)
   294         self.repo = config.repository(vreg)
   295         if not vreg.initialized:
   295         if not vreg.initialized:
   296             self.config.init_cubes(self.repo.get_cubes())
   296             config.init_cubes(self.repo.get_cubes())
   297             vreg.init_properties(self.repo.properties())
   297             vreg.init_properties(self.repo.properties())
   298             vreg.set_schema(self.repo.get_schema())
   298             vreg.set_schema(self.repo.get_schema())
   299         # set the correct publish method
   299         # set the correct publish method
   300         if config['query-log-file']:
   300         if config['query-log-file']:
   301             from threading import Lock
   301             from threading import Lock