From 7a8804d95f8900cd2d05aead6476ae55c253e81c Mon Sep 17 00:00:00 2001 From: Brian Harring Date: Sat, 24 Sep 2005 18:41:36 +0000 Subject: correction of eapi transfer for metadata -> local cache svn path=/main/branches/2.0/; revision=2023 --- pym/portage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym/portage.py') 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 -- cgit v1.2.3-1-g7c22