Remove unwanted code (that search for information into files found using the TOOLCHAI...
authorduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 19 Apr 2010 13:17:30 +0000 (13:17 +0000)
committerduplo <duplo@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 19 Apr 2010 13:17:30 +0000 (13:17 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3460 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/BProject.py

index 68469e581c17eb42749ce5340d5a7372d66f1b8c..7cc1da496432688f9cb5d44ac3c26cd039203667 100644 (file)
@@ -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())