[python-virtinst PATCH] Fix error message

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

 



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@xxxxxxxxxx>
 #
 # 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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list


[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux