projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b053998
)
autounmask: Don't print masked/forced flags in "required by" comments
author
Sebastian Luther
<SebastianLuther@gmx.de>
Fri, 3 Sep 2010 20:42:05 +0000
(22:42 +0200)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 3 Sep 2010 20:47:00 +0000
(13:47 -0700)
pym/_emerge/depgraph.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/depgraph.py
b/pym/_emerge/depgraph.py
index 12f12d4723b4637a335e115f673a22366059f410..e90d273d19851a8447e0c23bafb0dcf2e3b81318 100644
(file)
--- a/
pym/_emerge/depgraph.py
+++ b/
pym/_emerge/depgraph.py
@@
-5202,6
+5202,10
@@
class depgraph(object):
for dep_str in dep_strings:
affecting_use.update(extract_affecting_use(dep_str, atom))
+ #Don't show flags as 'affecting' if the user can't change them,
+ affecting_use.difference_update(node.root_config.settings.usemask, \
+ node.root_config.settings.useforce)
+
pkg_name = node.cpv
if affecting_use:
usedep = []