summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-08-25 11:06:53 -0700
committerBen Pfaff <blp@nicira.com>2011-08-25 11:06:53 -0700
commitaf1eba26c3a22b85bfe22ef14337652d92008d89 (patch)
tree9d52563376bdf1d6a41d48f133b75db6e234c8b4
parent49c57a8fef46461da911802e8bf82329924ea329 (diff)
downloadopenvswitch-af1eba26c3a22b85bfe22ef14337652d92008d89.tar.gz
ovs.db.idl: Fix call to ovs.db.parser.Parser constructor.
This bug was introduced by commit 4c0f62718f "ovs.db.idl: Improve error reporting for bad <row-update>s." Found by pychecker. Bug #7006.
-rw-r--r--python/ovs/db/idl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/ovs/db/idl.py b/python/ovs/db/idl.py
index dc5f89e69..8f3c8107c 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()