summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Eot/Report.py
diff options
context:
space:
mode:
Diffstat (limited to 'BaseTools/Source/Python/Eot/Report.py')
-rw-r--r--BaseTools/Source/Python/Eot/Report.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Eot/Report.py b/BaseTools/Source/Python/Eot/Report.py
index 386e3eb8ec..7435b4d7c9 100644
--- a/BaseTools/Source/Python/Eot/Report.py
+++ b/BaseTools/Source/Python/Eot/Report.py
@@ -234,7 +234,7 @@ class Report(object):
#
def GenerateFfs(self, FfsObj):
self.FfsIndex = self.FfsIndex + 1
- if FfsObj != None and FfsObj.Type in [0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0xA]:
+ if FfsObj is not None and FfsObj.Type in [0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0xA]:
FfsGuid = FfsObj.Guid
FfsOffset = FfsObj._OFF_
FfsName = 'Unknown-Module'