]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/UPT/Parser/InfParser.py
BaseTools: Remove equality operator with None
[mirror_edk2.git] / BaseTools / Source / Python / UPT / Parser / InfParser.py
index e7bef2e35e0fea430aefb135d2f39ccb7af214fc..7bea49e0e8616d68d9950aa726da868e28362937 100644 (file)
@@ -97,7 +97,7 @@ class InfParser(InfSectionParser):
         #\r
         # Load Inf file if filename is not None\r
         #\r
-        if Filename != None:\r
+        if Filename is not None:\r
             self.ParseInfFile(Filename)\r
 \r
     ## Parse INF file\r