projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c7da1a
)
For py3k compatibility, replace map() call with a normal for loop. Thanks to
author
Zac Medico
<zmedico@gentoo.org>
Fri, 15 Aug 2008 18:00:08 +0000
(18:00 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 15 Aug 2008 18:00:08 +0000
(18:00 -0000)
Ali Polatel <hawking@g.o>.
svn path=/main/trunk/; revision=11416
pym/portage/dbapi/porttree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/porttree.py
b/pym/portage/dbapi/porttree.py
index 2948ba6a446a3a8668dcb194fbd7f93517575dae..614f6dec3c5bb994aa8030f88d08c0bdd17afbc6 100644
(file)
--- a/
pym/portage/dbapi/porttree.py
+++ b/
pym/portage/dbapi/porttree.py
@@
-263,7
+263,8
@@
class portdbapi(dbapi):
# if newer version, wipe everything and negate eapi
eapi = metadata["EAPI"]
metadata = {}
- map(lambda x: metadata.setdefault(x, ""), auxdbkeys)
+ for x in self._known_keys:
+ metadata.setdefault(x, "")
metadata["EAPI"] = "-" + eapi
if metadata.get("INHERITED", False):