2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-23 14:57:06 +00:00

ovs.db.idl: Fix error message format arguments.

There's no variable table_name.

Found by pychecker.
This commit is contained in:
Ben Pfaff
2011-08-24 17:03:42 -07:00
parent c6b24dd7cd
commit 7550c333d3

View File

@@ -249,7 +249,7 @@ class Idl:
changed = True
# XXX rate-limit
logging.warning("cannot modify missing row %s in table %s"
% (uuid, table_name))
% (uuid, table.name))
if self.__modify_row(table, row, new):
changed = True
return changed
@@ -269,7 +269,7 @@ class Idl:
except error.Error, e:
# XXX rate-limit
logging.warning("error parsing column %s in table %s: %s"
% (column_name, table_name, e))
% (column_name, table.name, e))
continue
if datum != getattr(row, column_name):