From: Ben Pfaff Date: Thu, 25 Aug 2011 00:03:42 +0000 (-0700) Subject: ovs.db.idl: Fix error message format arguments. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7550c333d3e2dfbe5361ceff0881d82b5cf3dc04;p=openvswitch ovs.db.idl: Fix error message format arguments. There's no variable table_name. Found by pychecker. --- 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):