diff options
Diffstat (limited to 'BaseTools/Source/Python/UPT/Parser/InfParser.py')
-rw-r--r-- | BaseTools/Source/Python/UPT/Parser/InfParser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/UPT/Parser/InfParser.py b/BaseTools/Source/Python/UPT/Parser/InfParser.py index e7bef2e35e..7bea49e0e8 100644 --- a/BaseTools/Source/Python/UPT/Parser/InfParser.py +++ b/BaseTools/Source/Python/UPT/Parser/InfParser.py @@ -97,7 +97,7 @@ class InfParser(InfSectionParser): #
# Load Inf file if filename is not None
#
- if Filename != None:
+ if Filename is not None:
self.ParseInfFile(Filename)
## Parse INF file
|