projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a8cf17
)
depgraph: fix virtual code to handle unsatisfied
author
Zac Medico
<zmedico@gentoo.org>
Mon, 14 Feb 2011 17:00:42 +0000
(09:00 -0800)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 14 Feb 2011 17:02:18 +0000
(09:02 -0800)
pym/_emerge/depgraph.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/depgraph.py
b/pym/_emerge/depgraph.py
index 271d4bfbde8e7c11581495a78bc83323d42befa6..7f471170abd56590c197c95bff64c69e8149616b 100644
(file)
--- a/
pym/_emerge/depgraph.py
+++ b/
pym/_emerge/depgraph.py
@@
-1326,7
+1326,7
@@
class depgraph(object):
if not self._add_dep(dep,
allow_unsatisfied=allow_unsatisfied):
return 0
- if is_virt:
+ if is_virt
and dep.child is not None
:
traversed_virt_pkgs.add(dep.child)
selected_atoms.pop(pkg)
@@
-1408,7
+1408,7
@@
class depgraph(object):
if not self._add_dep(dep,
allow_unsatisfied=allow_unsatisfied):
return 0
- if is_virt:
+ if is_virt
and dep.child is not None
:
traversed_virt_pkgs.add(dep.child)
if debug: