projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
188fc54
)
Fix repo in 'masked installed' message.
author
Zac Medico
<zmedico@gentoo.org>
Tue, 12 Oct 2010 03:30:57 +0000
(20:30 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 12 Oct 2010 03:30:57 +0000
(20:30 -0700)
This code hardcoded 'installed' as the repo, which was both awkward
and confusing, in terms of ensuring correct code and meaninful
messages.
pym/_emerge/depgraph.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/depgraph.py
b/pym/_emerge/depgraph.py
index 2a8956deb2471a0f5d444ba47794121957902697..424c4b27ddc9ecb352b9cb28bff7cfb0d66415a6 100644
(file)
--- a/
pym/_emerge/depgraph.py
+++ b/
pym/_emerge/depgraph.py
@@
-4942,7
+4942,7
@@
class depgraph(object):
pkgsettings = self._frozen_config.pkgsettings[pkg.root]
mreasons = get_masking_status(pkg, pkgsettings, root_config, use=self._pkg_use_enabled)
masked_packages.append((root_config, pkgsettings,
- pkg.cpv,
"installed"
, pkg.metadata, mreasons))
+ pkg.cpv,
pkg.repo
, pkg.metadata, mreasons))
if masked_packages:
writemsg("\n" + colorize("BAD", "!!!") + \
" The following installed packages are masked:\n",