projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0003748
)
ovs.daemon: Add missing format string argument.
author
Ben Pfaff
<blp@nicira.com>
Thu, 25 Aug 2011 00:01:14 +0000
(17:01 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 25 Aug 2011 18:07:23 +0000
(11:07 -0700)
Found by pychecker.
python/ovs/daemon.py
patch
|
blob
|
history
diff --git
a/python/ovs/daemon.py
b/python/ovs/daemon.py
index d4e4bf112a05ec4b2b07c2efc535aa5a6af2a8db..ba18d860a12194f33bb0c5380413de869ddb88b5 100644
(file)
--- 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: