From e11892ba1326486e2d0b0dc8c63fa75dcffca63e Mon Sep 17 00:00:00 2001 From: duplo Date: Fri, 30 Apr 2010 15:12:03 +0000 Subject: [PATCH] Use new paths for Exceptions git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3584 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/BProject.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wizard/BProject.py b/wizard/BProject.py index 0fc1b7f7..c8bb4f0e 100644 --- a/wizard/BProject.py +++ b/wizard/BProject.py @@ -263,14 +263,14 @@ class BProject(object): 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: -- 2.25.1