From c6b24dd7cd8c5ecf989db95fa60435c2818931d6 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 24 Aug 2011 17:01:14 -0700 Subject: [PATCH] ovs.daemon: Add missing format string argument. Found by pychecker. --- python/ovs/daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ovs/daemon.py b/python/ovs/daemon.py index d4e4bf11..ba18d860 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: -- 2.30.2