portdbapi.aux_get: fix broken _metadata_callback
authorZac Medico <zmedico@gentoo.org>
Sat, 15 Oct 2011 20:28:44 +0000 (13:28 -0700)
committerZac Medico <zmedico@gentoo.org>
Sat, 15 Oct 2011 20:28:44 +0000 (13:28 -0700)
This fixes a regression in FEATURES=parse-eapi-ebuild-head support
since commit 2ed1cb53cc4158af08c22d466b15b9a9a7767212.

pym/portage/dbapi/porttree.py

index 36b326c14481f7f26ec4afb332c38b07abc0ed56..a1308a7e7af6faf1276f5f9f208dea5279b9e26e 100644 (file)
@@ -529,7 +529,7 @@ class portdbapi(dbapi):
 
                        if eapi is not None and not portage.eapi_is_supported(eapi):
                                mydata = self._metadata_callback(
-                                       mycpv, ebuild_hash, mylocation, {'EAPI':eapi}, emtime)
+                                       mycpv, mylocation, {'EAPI':eapi}, ebuild_hash)
                        else:
                                proc = EbuildMetadataPhase(cpv=mycpv,
                                        ebuild_hash=ebuild_hash,