buildtools/BaseTools/Source/Python/Common/ToolDefClassObject.py:
authorjljusten <jljusten@7335b38e-4728-0410-8992-fb3ffe349368>
Mon, 16 Jun 2008 21:23:31 +0000 (21:23 +0000)
committerjljusten <jljusten@7335b38e-4728-0410-8992-fb3ffe349368>
Mon, 16 Jun 2008 21:23:31 +0000 (21:23 +0000)
  Added 'ToolName' parameter to EdkLogger.warn call.

git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@1256 7335b38e-4728-0410-8992-fb3ffe349368

Source/Python/Common/ToolDefClassObject.py

index 340a371..f777178 100755 (executable)
@@ -79,7 +79,7 @@ class ToolDefClassObject(object):
                 continue\r
             NameValuePair = Line.split("=", 1)\r
             if len(NameValuePair) != 2:\r
-                EdkLogger.warn("Line %d: not correct assignment statement, skipped" % (Index + 1))\r
+                EdkLogger.warn("tools_def.txt parser", "Line %d: not correct assignment statement, skipped" % (Index + 1))\r
                 continue\r
 \r
             Name = NameValuePair[0].strip()\r