projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ba6cca
)
Fix deprecated usage of dep_getkey(). Thanks to Sebastian Mingramm (few)
v2.2_rc54
author
Zac Medico
<zmedico@gentoo.org>
Sat, 28 Nov 2009 21:28:34 +0000
(21:28 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 28 Nov 2009 21:28:34 +0000
(21:28 -0000)
for reporting.
svn path=/main/trunk/; revision=14915
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index 8ebcddba2197cde35fb4959e3b188f5d139dbb3c..90be7ae456c175014102c54a1e66d81eabb0d04a 100644
(file)
--- 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):