From: Ben Pfaff Date: Thu, 25 Aug 2011 00:01:14 +0000 (-0700) Subject: ovs.daemon: Add missing format string argument. X-Git-Tag: v1.3.0~383 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=c6b24dd7cd8c5ecf989db95fa60435c2818931d6;p=sliver-openvswitch.git ovs.daemon: Add missing format string argument. Found by pychecker. --- 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: