]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Bin/CYGWIN_NT-5.1-i686/armcc_wrapper.py
BaseTools: Refactor python print statements
[mirror_edk2.git] / BaseTools / Bin / CYGWIN_NT-5.1-i686 / armcc_wrapper.py
index 69fd2d54413e975352b54f026fe8c7f102051d3d..534ffd04c5c28fb2972777ceeae79f220d1ad68f 100755 (executable)
@@ -23,6 +23,7 @@
 #
 # ExceptionList if a tool takes an argument with a / add it to the exception list
 #
 #
 # ExceptionList if a tool takes an argument with a / add it to the exception list
 #
+from __future__ import print_function\r
 import sys
 import os
 import subprocess
 import sys
 import os
 import subprocess
@@ -86,7 +87,7 @@ if __name__ == "__main__":
      ret = main(sys.argv[2:])
 
   except:
      ret = main(sys.argv[2:])
 
   except:
-    print "exiting: exception from " + sys.argv[0]
+    print("exiting: exception from " + sys.argv[0])\r
     ret = 2
 
   sys.exit(ret)
     ret = 2
 
   sys.exit(ret)