projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
546f70b
)
Copy INHERITED/_eclasses_ handling from portdbapi._metadata_callback() to
author
Zac Medico
<zmedico@gentoo.org>
Fri, 11 Jul 2008 06:02:40 +0000
(06:02 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 11 Jul 2008 06:02:40 +0000
(06:02 -0000)
portdbapi.aux_get() since it's still needed there or else aux_get won't
properly return INHERITED.
svn path=/main/trunk/; revision=11016
pym/portage/dbapi/porttree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/porttree.py
b/pym/portage/dbapi/porttree.py
index 797c886f277239b238e2edd3037da31b0a5b974a..23fb67d32afb60e20fbfe6d80f7222532bfe92f2 100644
(file)
--- a/
pym/portage/dbapi/porttree.py
+++ b/
pym/portage/dbapi/porttree.py
@@
-417,6
+417,12
@@
class portdbapi(dbapi):
self._metadata_callback(
mycpv, myebuild, mylocation, mydata, emtime)
+ if mydata.get("INHERITED", False):
+ mydata["_eclasses_"] = \
+ self.eclassdb.get_eclass_data(mydata["INHERITED"].split())
+ else:
+ mydata["_eclasses_"] = {}
+
if not mydata.setdefault("EAPI", "0"):
mydata["EAPI"] = "0"