server/serverconfig.py
branchstable
changeset 9165 7ebf3b1cdb4c
parent 9013 b4bcabf55e77
child 9460 a2a0bc984863
equal deleted inserted replaced
9164:4415209bea0a 9165:7ebf3b1cdb4c
   359             origcubes = self.cubes()
   359             origcubes = self.cubes()
   360             self._cubes = None
   360             self._cubes = None
   361             self.init_cubes(self.expand_cubes(origcubes))
   361             self.init_cubes(self.expand_cubes(origcubes))
   362         schema = CubicWebSchemaLoader().load(self, **kwargs)
   362         schema = CubicWebSchemaLoader().load(self, **kwargs)
   363         if expand_cubes:
   363         if expand_cubes:
   364             # restaure original value
   364             # restore original value
   365             self._cubes = origcubes
   365             self._cubes = origcubes
   366         return schema
   366         return schema
   367 
   367 
   368     def load_bootstrap_schema(self):
   368     def load_bootstrap_schema(self):
   369         from cubicweb.schema import BootstrapSchemaLoader
   369         from cubicweb.schema import BootstrapSchemaLoader