Convert --select to boolean True when enabled, so --resume code handles
authorZac Medico <zmedico@gentoo.org>
Mon, 19 Oct 2009 03:37:55 +0000 (03:37 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 19 Oct 2009 03:37:55 +0000 (03:37 -0000)
it like other boolean options. (trunk r14667)

svn path=/main/branches/2.1.7/; revision=14687

pym/_emerge/main.py

index 0898833fcff85cd3d125f927fc886b3d2bc520eb..de3c0f2588192c2c8cb92c52582d06891dcbda12 100644 (file)
@@ -642,6 +642,7 @@ def parse_opts(tmpcmdline, silent=False):
                myoptions.root_deps = True
 
        if myoptions.select == "True":
+               myoptions.select = True
                myoptions.oneshot = False
        elif myoptions.select == "n":
                myoptions.oneshot = True