[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [virt-tools-list] [python-virtinst PATCH] Fix error message



On 03/06/2013 07:53 AM, Martin Kletzander wrote:
> Just a minor fix where comma was used instead of a percent sign.
> 
> Solves https://bugzilla.redhat.com/show_bug.cgi?id=915215
> ---
> I dared to push this as a trivial fix, feel free to bash my head
> against a wall of your choice in case I shouldn't have done that.
> 
>  virt-convert | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 

ACK, please push, and please push any similarly trivial bits in the future.

- Cole

> diff --git a/virt-convert b/virt-convert
> index 5223771..a19c335 100755
> --- a/virt-convert
> +++ b/virt-convert
> @@ -1,6 +1,6 @@
>  #!/usr/bin/python
>  #
> -# Copyright 2008  Red Hat, Inc.
> +# Copyright 2008, 2013  Red Hat, Inc.
>  # Joey Boggs <jboggs redhat com>
>  #
>  # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
> @@ -213,8 +213,8 @@ def main():
>          clean += [ options.output_dir ]
>      except OSError, e:
>          if (e.errno != errno.EEXIST):
> -            fail("Could not create directory %s: %s",
> -                (options.output_dir, e.strerror))
> +            fail("Could not create directory %s: %s" %
> +                 (options.output_dir, e.strerror))
> 
>      if not options.output_file:
>          options.output_file = os.path.join(options.output_dir,
> --
> 1.8.1.5
> 
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list redhat com
> https://www.redhat.com/mailman/listinfo/virt-tools-list
> 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]