Remove references to portage.settings from unmerge().
authorZac Medico <zmedico@gentoo.org>
Sat, 24 Jun 2006 07:52:18 +0000 (07:52 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 24 Jun 2006 07:52:18 +0000 (07:52 -0000)
svn path=/main/trunk/; revision=3638

bin/emerge

index fee13aea598fbed08b31ada48531c0d0b23aa71b..1cddc0e4ed775b687ae345ded4a819ef39bac128 100755 (executable)
@@ -2133,8 +2133,8 @@ def unmerge(settings, myopts, vartree, unmerge_action, unmerge_files,
        newline=""
        if (not "--quiet" in myopts):
                newline="\n"
-       if portage.settings["ROOT"] != "/":
-               print darkgreen(newline+">>> Using system located in ROOT tree "+portage.settings["ROOT"])
+       if settings["ROOT"] != "/":
+               print darkgreen(newline+">>> Using system located in ROOT tree "+settings["ROOT"])
        if (("--pretend" in myopts) or ("--ask" in myopts)) and not ("--quiet" in myopts):
                print darkgreen(newline+">>> These are the packages that would be unmerged:")