For parse-eapi-ebuild-head, we want to assign self.metadata from the
return value, for conformity with usage elsewhere.
if eapi is not None:
if not portage.eapi_is_supported(eapi):
- self.metadata = {'EAPI' : eapi}
- self.metadata_callback(self.cpv,
- self.repo_path, self.metadata, self.ebuild_hash)
+ self.metadata = 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