BaseTools/Source/Python/Trim/Trim.py:
authorjljusten <jljusten@7335b38e-4728-0410-8992-fb3ffe349368>
Thu, 11 Oct 2007 22:34:14 +0000 (22:34 +0000)
committerjljusten <jljusten@7335b38e-4728-0410-8992-fb3ffe349368>
Thu, 11 Oct 2007 22:34:14 +0000 (22:34 +0000)
  Changed EdkLogger usage from "setLevel" to "SetLevel"

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

Source/Python/Trim/Trim.py

index bf89976..ded92b3 100644 (file)
@@ -234,9 +234,9 @@ def Main():
     try:
         CommandOptions, InputFile = Options()
         if CommandOptions.LogLevel < EdkLogger.DEBUG_9:
-            EdkLogger.setLevel(CommandOptions.LogLevel + 1)
+            EdkLogger.SetLevel(CommandOptions.LogLevel + 1)
         else:
-            EdkLogger.setLevel(CommandOptions.LogLevel)
+            EdkLogger.SetLevel(CommandOptions.LogLevel)
 
         if CommandOptions.FileType == "Vfr":
             TrimPreprocessedVfr(InputFile, CommandOptions.OutputFile)