]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Ecc/FileProfile.py
BaseTools: Move OverrideAttribs to OptRomInfStatement.py
[mirror_edk2.git] / BaseTools / Source / Python / Ecc / FileProfile.py
index 810087ea0733d106d2dee6c9a9e4d5f918483fdc..a071fd020eb4c747b4fab267693acfdb1d6b1180 100644 (file)
@@ -1,9 +1,9 @@
 ## @file\r
 # fragments of source file\r
 #\r
-#  Copyright (c) 2007, Intel Corporation\r
+#  Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
 #\r
-#  All rights reserved. This program and the accompanying materials\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
@@ -17,8 +17,9 @@
 #\r
 \r
 import re\r
-import os\r
+import Common.LongFilePathOs as os\r
 from ParserWarning import Warning\r
+from Common.LongFilePathSupport import OpenLongFilePath as open\r
 \r
 CommentList = []\r
 PPDirectiveList = []\r
@@ -35,7 +36,7 @@ FunctionCallingList = []
 # May raise Exception when opening file.\r
 #\r
 class FileProfile :\r
-    \r
+\r
     ## The constructor\r
     #\r
     #   @param  self        The object pointer\r
@@ -53,5 +54,5 @@ class FileProfile :
 \r
         except IOError:\r
             raise Warning("Error when opening file %s" % FileName)\r
-        \r
-        
\ No newline at end of file
+\r
+\r