Properly treat myopts as a dict.
authorZac Medico <zmedico@gentoo.org>
Fri, 29 Sep 2006 01:52:50 +0000 (01:52 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 29 Sep 2006 01:52:50 +0000 (01:52 -0000)
svn path=/main/trunk/; revision=4553

bin/emerge

index a78af8ff900a21806664f3caba334d792efd5b9e..9012f7b1835af73da47068a5afc41f733bc3383e 100755 (executable)
@@ -2427,7 +2427,7 @@ def unmerge(settings, myopts, vartree, unmerge_action, unmerge_files,
        if "--ask" in myopts:
                if userquery("Would you like to unmerge these packages?")=="No":
                        # enter pretend mode for correct formatting of results
-                       myopts+=["--pretend"]
+                       myopts["--pretend"] = True
                        print
                        print "Quitting."
                        print