cfg_file_path = os.path.join(self.bertos_srcdir, configuration)
configuration_info[configuration] = loadConfigurationInfos(cfg_file_path)
except ParseError, err:
- raise DefineException.ConfigurationDefineException(self.infos["BERTOS_PATH"] + "/" + configuration, err.line_number, err.line)
+ raise DefineException.ConfigurationDefineException(cfg_file_path, err.line_number, err.line)
if edit:
try:
path = self.infos["PROJECT_SRC_PATH"]
cfg_file_path = os.path.join(path, configuration)
configuration_info[configuration] = updateConfigurationValues(configuration_info[configuration], cfg_file_path)
except ParseError, err:
- raise DefineException.ConfigurationDefineException(configuration.replace("bertos", path))
+ raise DefineException.ConfigurationDefineException(cfg_file_path, err.line_number, err.line)
module_info_dict.update(module_dict)
configuration_info_dict.update(configuration_info)
if to_be_parsed: