]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Scripts/FormatDosFiles.py
BaseTools/VfrCompile: Remove framework VFR support
[mirror_edk2.git] / BaseTools / Scripts / FormatDosFiles.py
index 2f2d4d532c76ea4a4c2a2aa181cfa7b36af99a56..d9a880f299fbe27ac6065248bd68769e2f52bbdd 100644 (file)
@@ -4,18 +4,13 @@
 #\r
 #  Copyright (c) 2018, 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
-#  which accompanies this distribution.  The full text of the license may be found at\r
-#  http://opensource.org/licenses/bsd-license.php\r
-#\r
-#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+#  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 #\r
 \r
 #\r
 # Import Modules\r
 #\r
+from __future__ import print_function\r
 import argparse\r
 import os\r
 import os.path\r
@@ -61,7 +56,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