projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbdf030
)
expand_set_args: add root SetArg nodes to graph
author
Zac Medico
<zmedico@gentoo.org>
Thu, 16 Jun 2011 15:35:16 +0000
(08:35 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 16 Jun 2011 15:35:16 +0000
(08:35 -0700)
This prevents get_dep_chain from triggering a KeyError some cases as
reported in bug #371767.
pym/_emerge/depgraph.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/depgraph.py
b/pym/_emerge/depgraph.py
index da48f2affefa2a8ac7f5eb3e883a7e740e4af6b7..773a256595f351214a4b4a06026d53bcf3f03821 100644
(file)
--- a/
pym/_emerge/depgraph.py
+++ b/
pym/_emerge/depgraph.py
@@
-846,6
+846,11
@@
class depgraph(object):
if arg in traversed_set_args:
continue
traversed_set_args.add(arg)
+
+ if add_to_digraph:
+ self._dynamic_config.digraph.add(arg, None,
+ priority=BlockerDepPriority.instance)
+
yield arg
# Traverse nested sets and add them to the stack