From 5b29bce24f96abdf3660e4c719cbf1ce94cfb8c5 Mon Sep 17 00:00:00 2001 From: duplo Date: Mon, 19 Apr 2010 13:17:30 +0000 Subject: [PATCH] Remove unwanted code (that search for information into files found using the TOOLCHAIN attribute of the CPU). git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3460 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/BProject.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/wizard/BProject.py b/wizard/BProject.py index 68469e58..7cc1da49 100644 --- a/wizard/BProject.py +++ b/wizard/BProject.py @@ -164,11 +164,6 @@ class BProject(object): list_info_dict.update(list_dict) except ParseError, err: raise DefineException.EnumDefineException(path, err.line_number, err.line) - # NOTE: These lines probably should be removed - for filename, path in self.findDefinitions("*_" + self.infos["CPU_INFOS"]["TOOLCHAIN"] + ".h"): - comment_list = getCommentList(open(path + "/" + filename, "r").read()) - list_info_dict.update(loadDefineLists(comment_list)) - # end of lines to be removed for tag in self.infos["CPU_INFOS"]["CPU_TAGS"]: for filename, path in self.findDefinitions("*_" + tag + ".h"): comment_list = getCommentList(open(path + "/" + filename, "r").read()) -- 2.25.1