def reload(self):
self._conf = configparser.ConfigParser()<EOL>self._conf.optionxform = str<EOL>self._conf.read(self.config_file_path)<EOL>if '<STR_LIT>' not in self._conf.keys():<EOL><INDENT>raise IncompleteConfigurationFile('<STR_LIT>')<EOL><DEDENT>general = self._replace_data_types(dict(self._conf.items('<STR_LIT>')))<EOL>self._conf.remove_section('<STR_LIT>')<EOL>plugin = []<EOL>for section in self._conf.sections():<EOL><INDENT>plugin.append(dict(self._conf.items(section)))<EOL>plugin[-<NUM_LIT:1>].update({'<STR_LIT:name>': section})<EOL>plugin[-<NUM_LIT:1>] = self._replace_data_types(plugin[-<NUM_LIT:1>])<EOL><DEDENT>return (plugin, general)<EOL>
Reload the configuration from the file. This is in its own function
so that it can be called at any time by another class.