Fix error in --changed-use logic.
authorZac Medico <zmedico@gentoo.org>
Fri, 9 Oct 2009 23:27:02 +0000 (23:27 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 9 Oct 2009 23:27:02 +0000 (23:27 -0000)
svn path=/main/trunk/; revision=14534

pym/_emerge/main.py

index 7b4c07fcf861c73ca8efb71c2ae173d2e4cf5673..667a811dfc0ad2c8c8e4690717abdb0fdb9a7f8f 100644 (file)
@@ -666,9 +666,9 @@ def parse_opts(tmpcmdline, silent=False):
 
        myoptions, myargs = parser.parse_args(args=tmpcmdline)
 
-       if myoptions.changed_use is not None:
+       if myoptions.changed_use is not False:
                myoptions.reinstall = "changed-use"
-               myoptions.changed_use = None
+               myoptions.changed_use = False
 
        if myoptions.deselect == "True":
                myoptions.deselect = True