cwvreg.py
branchstable
changeset 7031 a04621040cad
parent 6925 352db17719d2
child 7154 5e2f93b88d86
child 7202 5b80f5ee61b5
equal deleted inserted replaced
7030:d48c6b0158b9 7031:a04621040cad
   552         # definitions, and propertyvals which contains values for those
   552         # definitions, and propertyvals which contains values for those
   553         # properties
   553         # properties
   554         if not self.initialized:
   554         if not self.initialized:
   555             self['propertydefs'] = {}
   555             self['propertydefs'] = {}
   556             self['propertyvalues'] = self.eprop_values = {}
   556             self['propertyvalues'] = self.eprop_values = {}
   557             for key, propdef in self.config.eproperty_definitions():
   557             for key, propdef in self.config.cwproperty_definitions():
   558                 self.register_property(key, **propdef)
   558                 self.register_property(key, **propdef)
   559         CW_EVENT_MANAGER.emit('after-registry-reset', self)
   559         CW_EVENT_MANAGER.emit('after-registry-reset', self)
   560 
   560 
   561     def set_schema(self, schema):
   561     def set_schema(self, schema):
   562         """set instance'schema and load application objects"""
   562         """set instance'schema and load application objects"""