From: Ben Pfaff Date: Thu, 25 Aug 2011 18:06:53 +0000 (-0700) Subject: ovs.db.idl: Fix call to ovs.db.parser.Parser constructor. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af1eba26c3a22b85bfe22ef14337652d92008d89;p=openvswitch 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 s." Found by pychecker. Bug #7006. --- diff --git a/python/ovs/db/idl.py b/python/ovs/db/idl.py index dc5f89e6..8f3c8107 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()