diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-02-08 01:26:13 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-02-08 01:26:13 +0000 |
commit | 23df221085a894d8ee2901bc235185491d978d08 (patch) | |
tree | 27a27a992b338bf5e1d5aa4a37d5e31136fc7072 | |
parent | 644d24dfd93ee05823eb0855a2d8df9978e6c0b7 (diff) | |
download | portage-23df221085a894d8ee2901bc235185491d978d08.tar.gz portage-23df221085a894d8ee2901bc235185491d978d08.tar.bz2 portage-23df221085a894d8ee2901bc235185491d978d08.zip |
Bug #208708 - Fix warnings for system or world packages that are masked.
svn path=/main/trunk/; revision=9289
-rw-r--r-- | pym/_emerge/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index e8b741086..efb863565 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -2082,7 +2082,9 @@ class depgraph(object): continue pkg, existing_node = self._select_package( myroot, atom, onlydeps=onlydeps) - if not pkg: + if not pkg or \ + (pkg.installed and portdb.xmatch("match-all", atom) \ + and not portdb.xmatch("bestmatch-visible", atom)): if not (isinstance(arg, SetArg) and \ arg.name in ("system", "world")): self._show_unsatisfied_dep(myroot, atom) |