summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Eot/InfParserLite.py
diff options
context:
space:
mode:
Diffstat (limited to 'BaseTools/Source/Python/Eot/InfParserLite.py')
-rw-r--r--BaseTools/Source/Python/Eot/InfParserLite.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/BaseTools/Source/Python/Eot/InfParserLite.py b/BaseTools/Source/Python/Eot/InfParserLite.py
index 584a95d6f3..24f0d50246 100644
--- a/BaseTools/Source/Python/Eot/InfParserLite.py
+++ b/BaseTools/Source/Python/Eot/InfParserLite.py
@@ -14,6 +14,7 @@
##
# Import Modules
#
+from __future__ import print_function
import Common.LongFilePathOs as os
import Common.EdkLogger as EdkLogger
from Common.DataType import *
@@ -164,8 +165,8 @@ if __name__ == '__main__':
Db.InitDatabase()
P = EdkInfParser(os.path.normpath("C:\Framework\Edk\Sample\Platform\Nt32\Dxe\PlatformBds\PlatformBds.inf"), Db, '', '')
for Inf in P.Sources:
- print Inf
+ print(Inf)
for Item in P.Macros:
- print Item, P.Macros[Item]
+ print(Item, P.Macros[Item])
- Db.Close() \ No newline at end of file
+ Db.Close()