diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-11-28 21:28:34 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-11-28 21:28:34 +0000 |
commit | 521e8772c4d7b528f3df9f471cb72b3c4536174d (patch) | |
tree | ed2b11608b03d5515537c0ba0dcdbdf9cdec8739 | |
parent | Bug #294945 - Fix blocker satistfied state handling inside depgraph, to (diff) | |
download | portage-2.2_rc54.tar.gz portage-2.2_rc54.tar.bz2 portage-2.2_rc54.zip |
Fix deprecated usage of dep_getkey(). Thanks to Sebastian Mingramm (few)v2.2_rc54
for reporting.
svn path=/main/trunk/; revision=14915
-rw-r--r-- | pym/portage/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 8ebcddba2..90be7ae45 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -2823,7 +2823,7 @@ class config(object): def _getUseMask(self, pkg): cp = getattr(pkg, "cp", None) if cp is None: - cp = dep_getkey(pkg) + cp = cpv_getkey(dep.remove_slot(pkg)) usemask = [] pos = 0 for i, pusemask_dict in enumerate(self.pusemask_list): @@ -2846,7 +2846,7 @@ class config(object): def _getUseForce(self, pkg): cp = getattr(pkg, "cp", None) if cp is None: - cp = dep_getkey(pkg) + cp = cpv_getkey(dep.remove_slot(pkg)) useforce = [] pos = 0 for i, puseforce_dict in enumerate(self.puseforce_list): |