diff options
| author | Ben Pfaff <blp@nicira.com> | 2011-08-24 17:03:42 -0700 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2011-08-25 11:07:23 -0700 |
| commit | 7550c333d3e2dfbe5361ceff0881d82b5cf3dc04 (patch) | |
| tree | 1d241cb85036d84d7d4385275407794e317b610a /python | |
| parent | c6b24dd7cd8c5ecf989db95fa60435c2818931d6 (diff) | |
| download | openvswitch-7550c333d3e2dfbe5361ceff0881d82b5cf3dc04.tar.gz | |
ovs.db.idl: Fix error message format arguments.
There's no variable table_name.
Found by pychecker.
Diffstat (limited to 'python')
| -rw-r--r-- | python/ovs/db/idl.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/ovs/db/idl.py b/python/ovs/db/idl.py index 8f3c8107c..65f683873 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): |
