summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage.py2
1 files changed, 1 insertions, 1 deletions
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