projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
49c57a8
)
ovs.db.idl: Fix call to ovs.db.parser.Parser constructor.
author
Ben Pfaff
<blp@nicira.com>
Thu, 25 Aug 2011 18:06:53 +0000
(11:06 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 25 Aug 2011 18:06:53 +0000
(11:06 -0700)
This bug was introduced by commit
4c0f62718f
"ovs.db.idl: Improve error
reporting for bad <row-update>s."
Found by pychecker.
Bug #7006.
python/ovs/db/idl.py
patch
|
blob
|
history
diff --git
a/python/ovs/db/idl.py
b/python/ovs/db/idl.py
index dc5f89e69bbcb66bb77fcaa3f615a0616bb676db..8f3c8107c2372501289b8923329620bdd05d13e2 100644
(file)
--- 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()