mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
ovs.daemon: Add missing format string argument.
Found by pychecker.
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user