From 7550c333d3e2dfbe5361ceff0881d82b5cf3dc04 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 24 Aug 2011 17:03:42 -0700 Subject: [PATCH] ovs.db.idl: Fix error message format arguments. There's no variable table_name. Found by pychecker. --- python/ovs/db/idl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/ovs/db/idl.py b/python/ovs/db/idl.py index 8f3c8107..65f68387 100644 --- a/python/ovs/db/idl.py +++ b/python/ovs/db/idl.py @@ -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): -- 2.30.2