diff options
| author | Ben Pfaff <blp@nicira.com> | 2011-08-24 17:01:14 -0700 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2011-08-25 11:07:23 -0700 |
| commit | c6b24dd7cd8c5ecf989db95fa60435c2818931d6 (patch) | |
| tree | 2ad66f2bab851e1cf68aabe3f241388115bf9cf4 | |
| parent | 0003748f584e6ba4747437ac7ebf4fe254f1be91 (diff) | |
| download | openvswitch-c6b24dd7cd8c5ecf989db95fa60435c2818931d6.tar.gz | |
ovs.daemon: Add missing format string argument.
Found by pychecker.
| -rw-r--r-- | python/ovs/daemon.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/ovs/daemon.py b/python/ovs/daemon.py index d4e4bf112..ba18d860a 100644 --- a/python/ovs/daemon.py +++ b/python/ovs/daemon.py @@ -421,7 +421,7 @@ def __read_pidfile(pidfile, delete_if_stale): try: os.unlink(pidfile) except IOError, e: - logging.warning("%s: failed to delete stale pidfile" + logging.warning("%s: failed to delete stale pidfile (%s)" % (pidfile, e.strerror)) return -e.errno else: |
