diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-11-28 22:18:29 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-11-28 22:18:29 +0000 |
commit | 15818d59af5ffc83bd6d62d8befdaf270701f6da (patch) | |
tree | 3cf2957db67e99a4c399551ca9c89f02b025472c | |
parent | Bug #294945 - Fix blocker satistfied state handling inside depgraph, to (diff) | |
download | portage-multirepo-15818d59af5ffc83bd6d62d8befdaf270701f6da.tar.gz portage-multirepo-15818d59af5ffc83bd6d62d8befdaf270701f6da.tar.bz2 portage-multirepo-15818d59af5ffc83bd6d62d8befdaf270701f6da.zip |
Fix deprecated usage of dep_getkey(). Thanks to Sebastian Mingramm (few)v2.1.7.9
for reporting. (trunk r14915)
svn path=/main/branches/2.1.7/; revision=14918
-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 e0c88813..c138a3ec 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): |