]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Eot/c.py
BaseTools: Refactor python print statements
[mirror_edk2.git] / BaseTools / Source / Python / Eot / c.py
index 02ff95995846e5cf4c5add289964387af02a5661..c70f62f393a9751b839c637c94c16df13a6c8e9d 100644 (file)
@@ -1,7 +1,7 @@
 ## @file\r
 # preprocess source file\r
 #\r
-#  Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
+#  Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>\r
 #\r
 #  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
@@ -15,8 +15,9 @@
 ##\r
 # Import Modules\r
 #\r
+from __future__ import print_function\r
 import sys\r
-import os\r
+import Common.LongFilePathOs as os\r
 import re\r
 import CodeFragmentCollector\r
 import FileProfile\r
@@ -384,4 +385,4 @@ if __name__ == '__main__':
     EdkLogger.SetLevel(EdkLogger.QUIET)\r
     CollectSourceCodeDataIntoDB(sys.argv[1])\r
 \r
-    print 'Done!'\r
+    print('Done!')\r