Fix for bug 133363, thanks to <world.root@gmail.com> for reporting.
authorAlec Warner <antarus@gentoo.org>
Mon, 15 May 2006 12:50:50 +0000 (12:50 -0000)
committerAlec Warner <antarus@gentoo.org>
Mon, 15 May 2006 12:50:50 +0000 (12:50 -0000)
svn path=/main/trunk/; revision=3360

bin/emerge

index c5746aa589d14a444b67669004d6b81f75ccaaa2..faca3019cadb4270ec5f71b42cdfe11c2b3ecce7 100755 (executable)
@@ -2311,7 +2311,7 @@ def unmerge(unmerge_action, unmerge_files):
                        #avoid cluttering the preview printout with stuff that isn't getting unmerged
                        continue
                if not (pkgmap[x]["protected"] or pkgmap[x]["omitted"]) and (x in syslist):
-                       print red("\a\n\n!!! '%s' is part of your system profile." % mykey)
+                       print red("\a\n\n!!! '%s' is part of your system profile." % x)
                        print yellow("\a!!! Unmerging it may be damaging to your system.\n")
                        if "--pretend" not in myopts and "--ask" not in myopts:
                                global EMERGE_WARNING_DELAY