diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-02-18 07:15:15 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-02-19 16:02:11 -0800 |
commit | 4f6f5579be8e647702163e9fcc9f146b2ed4a444 (patch) | |
tree | 7b22ddcfe095821f51f6f3ececacb547b5e33422 /pym | |
parent | 2c874eab886e1ca462ef79141496bf451ffd2614 (diff) | |
download | portage-4f6f5579be8e647702163e9fcc9f146b2ed4a444.tar.gz portage-4f6f5579be8e647702163e9fcc9f146b2ed4a444.tar.bz2 portage-4f6f5579be8e647702163e9fcc9f146b2ed4a444.zip |
unmerge: don't show null/ cat in unmatched atoms
This will fix bug #269534.
Diffstat (limited to 'pym')
-rw-r--r-- | pym/_emerge/unmerge.py | 4 |
1 files 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( |