]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/PyUtility/PyUtility.c
BaseTools: Clean up source files
[mirror_edk2.git] / BaseTools / Source / C / PyUtility / PyUtility.c
index f06cb9222d8499fde568fdcbc416b0688bee0ef3..d14b87228d85310d2e0d2d7e0a78c74a07106d67 100644 (file)
@@ -1,3 +1,17 @@
+/** @file\r
+Python Utility\r
+\r
+Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials are licensed and made available\r
+under the terms and conditions of the BSD License which accompanies this\r
+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
+\r
+**/\r
+\r
 #include <Python.h>\r
 #include <Windows.h>\r
 #include <Common/UefiBaseTypes.h>\r
@@ -61,9 +75,9 @@ SaveFileToDisk (
     goto Done;\r
   }\r
 \r
-  // \r
+  //\r
   // Flush buffer may slow down the whole build performance (average 10s slower)\r
-  // \r
+  //\r
   //if (!FlushFileBuffers(FileHandle)) {\r
   //  PyErr_SetString(PyExc_Exception, "File flush failure");\r
   //  goto Done;\r