equal
deleted
inserted
replaced
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 |