projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66af3f9
)
Fix deprecated usage of dep_getkey.
author
Zac Medico
<zmedico@gentoo.org>
Fri, 19 Feb 2010 10:09:31 +0000
(10:09 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 19 Feb 2010 10:09:31 +0000
(10:09 -0000)
svn path=/main/trunk/; revision=15383
pym/_emerge/depgraph.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/depgraph.py
b/pym/_emerge/depgraph.py
index 42e5deeef3dd562878fb0a9269115afb0efe96ab..3549000cfc0db5a675a6e6d799a594ee5d52a444 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],