On 5/2/22 15:31, Terry Wilson wrote:
> Prior to 4e3966e64, 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 4e3966e64, a KeyError would be raised, which is not expected
> from a getattr() or hasattr() call, which could break existing
> code.
> 
> Fixes: 4e3966e64 (python: Politely handle misuse of table.condition.)

For the future: the length of the commit hash should be 12.

> Signed-off-by: Terry Wilson <[email protected]>
> ---
>  python/ovs/db/idl.py | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)

Applied to master and branch-2.17.  Thanks!

Best regards, Ilya Maximets.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to