server/repository.py
changeset 8275 49e105e000ab
parent 8268 c9babe49c1c1
child 8277 8b173e0a617f
equal deleted inserted replaced
8274:aedb32d324ab 8275:49e105e000ab
   322         for source in self.sources_by_uri.values():
   322         for source in self.sources_by_uri.values():
   323             source.set_schema(schema)
   323             source.set_schema(schema)
   324         self.schema = schema
   324         self.schema = schema
   325 
   325 
   326     def fill_schema(self):
   326     def fill_schema(self):
   327         """lod schema from the repository"""
   327         """load schema from the repository"""
   328         from cubicweb.server.schemaserial import deserialize_schema
   328         from cubicweb.server.schemaserial import deserialize_schema
   329         self.info('loading schema from the repository')
   329         self.info('loading schema from the repository')
   330         appschema = schema.CubicWebSchema(self.config.appid)
   330         appschema = schema.CubicWebSchema(self.config.appid)
   331         self.set_schema(self.config.load_bootstrap_schema(), resetvreg=False)
   331         self.set_schema(self.config.load_bootstrap_schema(), resetvreg=False)
   332         self.debug('deserializing db schema into %s %#x', appschema.name, id(appschema))
   332         self.debug('deserializing db schema into %s %#x', appschema.name, id(appschema))