#\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