[ovs-dev] [python3 04/15] ovs.daemon: Add missing format string argument.

Justin Pettit jpettit at nicira.com
Thu Aug 25 18:06:47 UTC 2011


Looks good.

--Justin


On Aug 24, 2011, at 5:15 PM, Ben Pfaff wrote:

> Found by pychecker.
> ---
> python/ovs/daemon.py |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/python/ovs/daemon.py b/python/ovs/daemon.py
> index d4e4bf1..ba18d86 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:
> -- 
> 1.7.4.4
> 
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev




More information about the dev mailing list