EbuildMetadataPhase: fix broken _metadata_callback
authorZac Medico <zmedico@gentoo.org>
Sat, 15 Oct 2011 22:46:37 +0000 (15:46 -0700)
committerZac Medico <zmedico@gentoo.org>
Sat, 15 Oct 2011 22:46:37 +0000 (15:46 -0700)
This fixes a regression in FEATURES=parse-eapi-ebuild-head support
for egencache since commit 2ed1cb53cc4158af08c22d466b15b9a9a7767212.

pym/_emerge/EbuildMetadataPhase.py

index 95729e805562db3009f9f9b740e5cf27787f9161..a6630ad1053ee1d0e7607262880cc6c7c5d5ba9d 100644 (file)
@@ -44,8 +44,8 @@ class EbuildMetadataPhase(SubProcess):
 
                if eapi is not None:
                        if not portage.eapi_is_supported(eapi):
-                               self.metadata_callback(self.cpv, ebuild_path,
-                                       self.repo_path, {'EAPI' : eapi}, self.ebuild_hash.mtime)
+                               self.metadata_callback(self.cpv,
+                                       self.repo_path, {'EAPI' : eapi}, self.ebuild_hash)
                                self._set_returncode((self.pid, os.EX_OK << 8))
                                self.wait()
                                return