]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Eot/Report.py
BaseTools: Remove equality operator with None
[mirror_edk2.git] / BaseTools / Source / Python / Eot / Report.py
index 386e3eb8ec05d747d6ead55c3e0ff26bd3421616..7435b4d7c9308cde8fb3c0d1441874eea97f9e5f 100644 (file)
@@ -234,7 +234,7 @@ class Report(object):
     #\r
     def GenerateFfs(self, FfsObj):\r
         self.FfsIndex = self.FfsIndex + 1\r
-        if FfsObj != None and FfsObj.Type in [0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0xA]:\r
+        if FfsObj is not None and FfsObj.Type in [0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0xA]:\r
             FfsGuid = FfsObj.Guid\r
             FfsOffset = FfsObj._OFF_\r
             FfsName = 'Unknown-Module'\r