]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/UPT/Parser/InfPcdSectionParser.py
BaseTools: Remove equality operator with None
[mirror_edk2.git] / BaseTools / Source / Python / UPT / Parser / InfPcdSectionParser.py
index f4324cc2ff1be69ad03848e8f9ab3236a49c8e83..a9b87fdc0565622ca71e67c174f67408dd200bce 100644 (file)
@@ -95,7 +95,7 @@ class InfPcdSectionParser(InfParserSectionRoot):
                                               FileName,\r
                                               DT.MODEL_EFI_PCD,\r
                                               self.FileLocalMacros)\r
-                    if Name != None:\r
+                    if Name is not None:\r
                         SectionMacros[Name] = Value\r
                         ValueList = []\r
                         CommentsList = []\r