mirror of
https://github.com/openvswitch/ovs
synced 2025-10-25 15:07:05 +00:00
ovs.db.idl: Fix error message format arguments.
There's no variable table_name. Found by pychecker.
This commit is contained in:
@@ -249,7 +249,7 @@ class Idl:
|
|||||||
changed = True
|
changed = True
|
||||||
# XXX rate-limit
|
# XXX rate-limit
|
||||||
logging.warning("cannot modify missing row %s in table %s"
|
logging.warning("cannot modify missing row %s in table %s"
|
||||||
% (uuid, table_name))
|
% (uuid, table.name))
|
||||||
if self.__modify_row(table, row, new):
|
if self.__modify_row(table, row, new):
|
||||||
changed = True
|
changed = True
|
||||||
return changed
|
return changed
|
||||||
@@ -269,7 +269,7 @@ class Idl:
|
|||||||
except error.Error, e:
|
except error.Error, e:
|
||||||
# XXX rate-limit
|
# XXX rate-limit
|
||||||
logging.warning("error parsing column %s in table %s: %s"
|
logging.warning("error parsing column %s in table %s: %s"
|
||||||
% (column_name, table_name, e))
|
% (column_name, table.name, e))
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if datum != getattr(row, column_name):
|
if datum != getattr(row, column_name):
|
||||||
|
|||||||
Reference in New Issue
Block a user