diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-02-19 10:06:40 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-02-19 10:06:40 +0000 |
commit | 66af3f95142b71423fcb185d452ff7ded2d9d060 (patch) | |
tree | 39895c10aa62c07b3f2d29471736f1d75ff6822f | |
parent | e91316a66cee393869a7ba4545ef4344807f8ed3 (diff) | |
download | portage-66af3f95142b71423fcb185d452ff7ded2d9d060.tar.gz portage-66af3f95142b71423fcb185d452ff7ded2d9d060.tar.bz2 portage-66af3f95142b71423fcb185d452ff7ded2d9d060.zip |
Fix deprecated usage of dep_getkey.
svn path=/main/trunk/; revision=15382
-rw-r--r-- | pym/portage/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 8a749dc5a..e15d9afe4 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -2626,7 +2626,7 @@ class config(object): has_changed = False self.mycpv = mycpv cat, pf = catsplit(mycpv) - cp = dep_getkey(mycpv) + cp = cpv_getkey(mycpv) cpv_slot = self.mycpv pkginternaluse = "" iuse = "" @@ -3071,7 +3071,7 @@ class config(object): @return: A list of licenses that have not been accepted. """ accept_license = self._accept_license - cpdict = self._plicensedict.get(dep_getkey(cpv), None) + cpdict = self._plicensedict.get(cpv_getkey(cpv), None) if cpdict: accept_license = list(self._accept_license) cpv_slot = "%s:%s" % (cpv, metadata["SLOT"]) @@ -3150,7 +3150,7 @@ class config(object): @return: A list of properties that have not been accepted. """ accept_properties = self._accept_properties - cpdict = self._ppropertiesdict.get(dep_getkey(cpv), None) + cpdict = self._ppropertiesdict.get(cpv_getkey(cpv), None) if cpdict: accept_properties = list(self._accept_properties) cpv_slot = "%s:%s" % (cpv, metadata["SLOT"]) |