git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@234 7335b...
authorhche10x <hche10x@7335b38e-4728-0410-8992-fb3ffe349368>
Fri, 29 Jun 2007 04:55:07 +0000 (04:55 +0000)
committerhche10x <hche10x@7335b38e-4728-0410-8992-fb3ffe349368>
Fri, 29 Jun 2007 04:55:07 +0000 (04:55 +0000)
Source/Python/String.py

index 5242473..0157ecc 100644 (file)
@@ -144,6 +144,7 @@ def GetLibraryClassesWithModuleType(Lines, Key, KeyValues, CommentCharacter):
     Lines = Lines.split(DataType.TAB_SECTION_END, 1)[1]\r
     LineList = Lines.splitlines()\r
     for Line in LineList:\r
+        Line = CleanString(Line)\r
         if Line != '' and Line[0] != CommentCharacter:\r
             KeyValues.append([CleanString(Line, CommentCharacter), newKey[1]])\r
 \r