git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@215 7335b...
authorhche10x <hche10x@7335b38e-4728-0410-8992-fb3ffe349368>
Wed, 27 Jun 2007 06:51:16 +0000 (06:51 +0000)
committerhche10x <hche10x@7335b38e-4728-0410-8992-fb3ffe349368>
Wed, 27 Jun 2007 06:51:16 +0000 (06:51 +0000)
Source/Python/String.py

index 1b7ad7d..5242473 100644 (file)
@@ -185,6 +185,9 @@ def CleanString(Line, CommentCharacter = DataType.TAB_COMMENT_SPLIT):
     #Change path\r
     #Line = os.path.normpath(Line)\r
     \r
+    #remove whitespace again\r
+    Line = Line.strip();\r
+    \r
     return Line\r
 \r
 def GetMultipleValuesOfKeyFromLines(Lines, Key, KeyValues, CommentCharacter):\r