Exemplo n.º 1
0
 def load_classconfig(self):
     """
     Loads the content of ``classconfig`` attribute from the user's configuration section.
     """
     config = ConfigData()
     config.name = self.classname
     config.data = copy.deepcopy(self.default_classconfig)
     if self.default_classconfig:
         self.classconfig = self.__get_config_store().setdefault(self.classname, config).data
Exemplo n.º 2
0
 def load_classconfig(self):
     """
     Loads the content of ``classconfig`` attribute from the user's configuration section.
     """
     config = ConfigData()
     config.name = self.classname
     config.data = copy.deepcopy(self.default_classconfig)
     if self.default_classconfig:
         self.classconfig = self.__get_config_store().setdefault(self.classname, config).data
Exemplo n.º 3
0
 def create_classconfig(self):
     config = ConfigData()
     config.name = self.classname
     config.data = copy.deepcopy(self.default_classconfig)
     if self.default_classconfig is not None:
         self.__get_config_store().setdefault(self.classname, config)