projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
954e342
)
Use match_pkgs() to simplify package comparison.
author
Zac Medico
<zmedico@gentoo.org>
Fri, 2 May 2008 22:11:25 +0000
(22:11 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 2 May 2008 22:11:25 +0000
(22:11 -0000)
svn path=/main/trunk/; revision=10110
pym/_emerge/__init__.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/__init__.py
b/pym/_emerge/__init__.py
index 5f1c2a611d96895aa91ee93a4bacf80a538b1e52..b3e57f4ff9ee6da2400f23e030b527ff983750ae 100644
(file)
--- a/
pym/_emerge/__init__.py
+++ b/
pym/_emerge/__init__.py
@@
-3665,9
+3665,8
@@
class depgraph(object):
for atom in root_config.sets[
"world"].iterAtomsForPackage(task):
satisfied = False
- for cpv in graph_db.match(atom):
- if cpv == inst_pkg.cpv and \
- inst_pkg in graph_db:
+ for pkg in graph_db.match_pkgs(atom):
+ if pkg == inst_pkg:
continue
satisfied = True
break