Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > 0cdec56639f2a904ef05176fefb93723 > files > 7

python-virtinst-0.500.4-2.fc13.src.rpm

commit c8f813b2b267a930021c9b948078475910fd80ec
Author: Cole Robinson <crobinso@redhat.com>
Date:   Wed Nov 17 14:52:09 2010 -0500

    cli: Don't erroneously lower() --boot values (and others) (bz 646029)
    
    This was a misguided attempt at making parameter parsing more friendly.

diff --git a/virtinst/cli.py b/virtinst/cli.py
index 62e09d7..9852425 100644
--- a/virtinst/cli.py
+++ b/virtinst/cli.py
@@ -618,7 +618,7 @@ def parse_optstr_tuples(optstr):
         opt_val = None
         if opt.count("="):
             opt_type, opt_val = opt.split("=", 1)
-            optlist.append((opt_type.lower(), opt_val.lower()))
+            optlist.append((opt_type.lower(), opt_val))
         else:
             optlist.append((opt.lower(), None))