ovs.daemon: Add missing format string argument.
authorBen Pfaff <blp@nicira.com>
Thu, 25 Aug 2011 00:01:14 +0000 (17:01 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 25 Aug 2011 18:07:23 +0000 (11:07 -0700)
Found by pychecker.

python/ovs/daemon.py

index d4e4bf112a05ec4b2b07c2efc535aa5a6af2a8db..ba18d860a12194f33bb0c5380413de869ddb88b5 100644 (file)
@@ -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: