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 39c5429cc..52d69279d 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -5346,7 +5346,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]
- metadata["EAPI"] = metadata.get("EAPI", "0")).strip()
+ metadata["EAPI"] = metadata.get("EAPI", "0").strip()
if not eapi_is_supported(metadata["EAPI"]):
# intentionally wipe keys.