This bug was introduced by commit 4c0f62718f "ovs.db.idl: Improve error
reporting for bad <row-update>s."

Found by pychecker.
---
 python/ovs/db/idl.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/python/ovs/db/idl.py b/python/ovs/db/idl.py
index dc5f89e..8f3c810 100644
--- a/python/ovs/db/idl.py
+++ b/python/ovs/db/idl.py
@@ -207,7 +207,7 @@ class Idl:
                                       'is not an object'
                                       % (table_name, uuid_string))
 
-                parser = ovs.db.parser.Parser(json, "row-update")
+                parser = ovs.db.parser.Parser(row_update, "row-update")
                 old = parser.get_optional("old", [dict])
                 new = parser.get_optional("new", [dict])
                 parser.finish()
-- 
1.7.4.4

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to