From: Brian Harring Date: Sat, 24 Sep 2005 18:41:36 +0000 (-0000) Subject: correction of eapi transfer for metadata -> local cache X-Git-Tag: v2.0.53_rc4_2111~59 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7a8804d95f8900cd2d05aead6476ae55c253e81c;p=portage.git correction of eapi transfer for metadata -> local cache svn path=/main/branches/2.0/; revision=2023 --- diff --git a/pym/portage.py b/pym/portage.py index 7ffad8dbb..26dd195f2 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -5329,7 +5329,7 @@ class portdbapi(dbapi): metadata=self.metadb[cat][pkg] try: - if metadata["EAPI"] == '0': + if metadata["EAPI"] in ('', '0'): metadata["EAPI"] = 0 except KeyError: metadata["EAPI"] = 0