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

Martin Kletzander mkletzan at redhat.com
Wed Mar 6 12:53:02 UTC 2013


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(-)

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 at 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




More information about the virt-tools-list mailing list