projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
778d751
)
Fix deprecated usage of dep_getkey. (trunk r15383)
author
Zac Medico
<zmedico@gentoo.org>
Tue, 2 Mar 2010 20:37:23 +0000
(20:37 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 2 Mar 2010 20:37:23 +0000
(20:37 -0000)
svn path=/main/branches/2.1.7/; revision=15610
pym/_emerge/depgraph.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/depgraph.py
b/pym/_emerge/depgraph.py
index 1e781628726754d896c0dfba1ce1daf4b73527db..70089c6d826ef01d6f88ae67617e9310597d51e9 100644
(file)
--- a/
pym/_emerge/depgraph.py
+++ b/
pym/_emerge/depgraph.py
@@
-4408,9
+4408,7
@@
class depgraph(object):
# assign index for a previous version in the same slot
has_previous = False
repo_name_prev = None
- slot_atom = "%s:%s" % (portage.dep_getkey(pkg_key),
- metadata["SLOT"])
- slot_matches = vardb.match(slot_atom)
+ slot_matches = vardb.match(pkg.slot_atom)
if slot_matches:
has_previous = True
repo_name_prev = vardb.aux_get(slot_matches[0],