]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Scripts/FormatDosFiles.py
BaseTools: Use absolute import in Scripts
[mirror_edk2.git] / BaseTools / Scripts / FormatDosFiles.py
index 2f2d4d532c76ea4a4c2a2aa181cfa7b36af99a56..1c6b8e2b0bb28ddb57b3fd4ce2530ae2270e40e6 100644 (file)
@@ -16,6 +16,7 @@
 #\r
 # Import Modules\r
 #\r
+from __future__ import print_function\r
 import argparse\r
 import os\r
 import os.path\r
@@ -61,7 +62,7 @@ def FormatFilesInDir(DirPath, ExtList, Args):
         FormatFile(File, Args)\r
 \r
 if __name__ == "__main__":\r
-    parser = argparse.ArgumentParser(prog=__prog__,description=__description__ + __copyright__, conflict_handler = 'resolve')\r
+    parser = argparse.ArgumentParser(prog=__prog__, description=__description__ + __copyright__, conflict_handler = 'resolve')\r
 \r
     parser.add_argument('Path', nargs='+',\r
                         help='the path for files to be converted.It could be directory or file path.')\r