Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python: idl: Raise AttributeError from uuid_to_row.
Prior to 4e3966e, when calling _uuid_to_row, it would raise an AttributeError when trying to access base.ref_table.rows if the referenced table was not registered. When called from Row.__getattr__(), this would appropriately raise an AttributeError. After 4e3966e, a KeyError would be raised, which is not expected from a getattr() or hasattr() call, which could break existing code. Fixes: 4e3966e ("python: Politely handle misuse of table.condition.") Signed-off-by: Terry Wilson <[email protected]> Signed-off-by: Ilya Maximets <[email protected]>
- Loading branch information