diff --git a/scripts/decode-syseeprom b/scripts/decode-syseeprom index 20decdd9c8f3..314c1407d116 100755 --- a/scripts/decode-syseeprom +++ b/scripts/decode-syseeprom @@ -55,7 +55,7 @@ def main(): # Currently, don't support eeprom db on Arista platform platforms_without_eeprom_db = ['arista', 'kvm'] if any(platform in platform_path for platform in platforms_without_eeprom_db)\ - or t.getattr('read_eeprom_db', None) == None: + or getattr(t, 'read_eeprom_db', None) == None: support_eeprom_db = False #