[ovs-dev] [python3 01/15] ovs.db.idl: Fix call to ovs.db.parser.Parser constructor.
Ben Pfaff
blp at nicira.com
Thu Aug 25 00:14:59 UTC 2011
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
More information about the dev
mailing list