projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f6f5a8
)
Use match_pkgs() to simplify package comparison. (trunk r10110)
author
Zac Medico
<zmedico@gentoo.org>
Fri, 2 May 2008 22:13:02 +0000
(22:13 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 2 May 2008 22:13:02 +0000
(22:13 -0000)
svn path=/main/branches/2.1.2/; revision=10111
bin/emerge
patch
|
blob
|
history
diff --git
a/bin/emerge
b/bin/emerge
index 7c643d2b0d4e383de499183a5b9a906da1c02888..eb829e4fb5da315cf1e8dbb05d2ddfddeeef1fca 100755
(executable)
--- a/
bin/emerge
+++ b/
bin/emerge
@@
-3812,9
+3812,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