Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[decode-syseeprom] fix getattribute check for sime platforms (#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]>
- Loading branch information