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