From 7867f86893b6f2c94f8e696428e1d4ab92923fd6 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 18 Feb 2011 07:15:15 -0800 Subject: unmerge: don't show null/ cat in unmatched atoms This will fix bug #269534. --- pym/_emerge/unmerge.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pym/_emerge/unmerge.py b/pym/_emerge/unmerge.py index e1d400f81..df95f699a 100644 --- a/pym/_emerge/unmerge.py +++ b/pym/_emerge/unmerge.py @@ -1,4 +1,4 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 from __future__ import print_function @@ -186,7 +186,7 @@ def unmerge(root_config, myopts, unmerge_action, mymatch = localtree.dep_match(x) if not mymatch: portage.writemsg("\n--- Couldn't find '%s' to %s.\n" % \ - (x, unmerge_action), noiselevel=-1) + (x.replace("null/", ""), unmerge_action), noiselevel=-1) continue pkgmap.append( -- cgit v1.2.3-1-g7c22