summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Eot/InfParserLite.py
diff options
context:
space:
mode:
Diffstat (limited to 'BaseTools/Source/Python/Eot/InfParserLite.py')
-rw-r--r--BaseTools/Source/Python/Eot/InfParserLite.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Eot/InfParserLite.py b/BaseTools/Source/Python/Eot/InfParserLite.py
index 6bb2c5f9f1..8867bb5dc2 100644
--- a/BaseTools/Source/Python/Eot/InfParserLite.py
+++ b/BaseTools/Source/Python/Eot/InfParserLite.py
@@ -52,7 +52,7 @@ class EdkInfParser(object):
self.SourceOverridePath = SourceOverridePath
# Load Inf file if filename is not None
- if Filename != None:
+ if Filename is not None:
self.LoadInfFile(Filename)
if SourceFileList: