diff options
Diffstat (limited to 'BaseTools/Source/Python/UPT/Parser/InfPcdSectionParser.py')
-rw-r--r-- | BaseTools/Source/Python/UPT/Parser/InfPcdSectionParser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/UPT/Parser/InfPcdSectionParser.py b/BaseTools/Source/Python/UPT/Parser/InfPcdSectionParser.py index f4324cc2ff..a9b87fdc05 100644 --- a/BaseTools/Source/Python/UPT/Parser/InfPcdSectionParser.py +++ b/BaseTools/Source/Python/UPT/Parser/InfPcdSectionParser.py @@ -95,7 +95,7 @@ class InfPcdSectionParser(InfParserSectionRoot): FileName,
DT.MODEL_EFI_PCD,
self.FileLocalMacros)
- if Name != None:
+ if Name is not None:
SectionMacros[Name] = Value
ValueList = []
CommentsList = []
|