You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[decode-syseeprom] fix getattribute check for sime platforms (sonic-net#835)
For some platforms which implement the eeprom plugin by inheriting from TlvInfoDecoder, the line
t.getattr('read_eeprom_db', None) == None:
results in an error:
AttributeError: 'board' object has no attribute 'getattr'
The cause for that is that TlvInfoDecoder inherits from object, and looks like for object and derived classes there is no __getattr__.
Signed-off-by: Mykola Faryma <[email protected]>
0 commit comments