diff options
-rw-r--r-- | pym/portage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py index f9db78856..3b83d9b84 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -5344,7 +5344,7 @@ class portdbapi(dbapi): if doregen and mylocation==self.mysettings["PORTDIR"] and metacachedir and self.metadb[cat].has_key(pkg): metadata=self.metadb[cat][pkg] - if not (metadata.has_key("EAPI") and metadata["EAPI"].strip()): + if not metadata.has_key("EAPI") or metadata["EAPI"].strip() == '': metadata["EAPI"] = "0" if not eapi_is_supported(metadata["EAPI"]): |