]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Eot/InfParserLite.py
BaseTools: Eot remove unused code
[mirror_edk2.git] / BaseTools / Source / Python / Eot / InfParserLite.py
index 06f775f8033c678f844100f06332d970f06426de..8867bb5dc23a7ea97a7b29431e33a7dfe2cc3c2a 100644 (file)
@@ -1,8 +1,8 @@
 ## @file\r
 # This file is used to parse INF file of EDK project\r
 #\r
-# Copyright (c) 2008 - 2010 Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
+# Copyright (c) 2008 - 2014, Intel Corporation. All rights reserved.<BR>\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
@@ -14,7 +14,7 @@
 ##\r
 # Import Modules\r
 #\r
-import os\r
+import Common.LongFilePathOs as os\r
 import Common.EdkLogger as EdkLogger\r
 from Common.DataType import *\r
 from CommonDataClass.DataClass import *\r
@@ -52,7 +52,7 @@ class EdkInfParser(object):
         self.SourceOverridePath = SourceOverridePath\r
 \r
         # Load Inf file if filename is not None\r
-        if Filename != None:\r
+        if Filename is not None:\r
             self.LoadInfFile(Filename)\r
 \r
         if SourceFileList:\r