]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Ecc/Configuration.py
BaseTools: Refactor python print statements
[mirror_edk2.git] / BaseTools / Source / Python / Ecc / Configuration.py
index 217b60f4f319a4d6e6f4773db3fecb1ad2925128..4711bbd54fdccffbc37f5648eb000240853eb951 100644 (file)
@@ -14,6 +14,7 @@
 ##\r
 # Import Modules\r
 #\r
+from __future__ import print_function\r
 import Common.LongFilePathOs as os\r
 import Common.EdkLogger as EdkLogger\r
 from Common.DataType import *\r
@@ -419,9 +420,9 @@ class Configuration(object):
                 self.__dict__[_ConfigFileToInternalTranslation[List[0]]] = List[1]\r
 \r
     def ShowMe(self):\r
-        print self.Filename\r
+        print(self.Filename)\r
         for Key in self.__dict__.keys():\r
-            print Key, '=', self.__dict__[Key]\r
+            print(Key, '=', self.__dict__[Key])\r
 \r
 #\r
 # test that our dict and out class still match in contents.\r