From: Brian Harring Date: Wed, 5 Oct 2005 17:14:08 +0000 (-0000) Subject: tweak, since the logic I just replaced was wrong (go me) X-Git-Tag: v2.0.53_rc4_2111~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=19441b9b44bcfb6b177a8eaac622730326bc0770;p=portage.git tweak, since the logic I just replaced was wrong (go me) svn path=/main/branches/2.0/; revision=2104 --- 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"]):