summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-08-24 17:01:14 -0700
committerBen Pfaff <blp@nicira.com>2011-08-25 11:07:23 -0700
commitc6b24dd7cd8c5ecf989db95fa60435c2818931d6 (patch)
tree2ad66f2bab851e1cf68aabe3f241388115bf9cf4 /python
parent0003748f584e6ba4747437ac7ebf4fe254f1be91 (diff)
downloadopenvswitch-c6b24dd7cd8c5ecf989db95fa60435c2818931d6.tar.gz
ovs.daemon: Add missing format string argument.
Found by pychecker.
Diffstat (limited to 'python')
-rw-r--r--python/ovs/daemon.py2
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: