From: Fabian Groffen Date: Mon, 28 Jul 2008 18:23:29 +0000 (-0000) Subject: fix misc issues causing eapi not to be valid X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=e4d27caae7fd429e1bf6285205eed210b156600e;p=portage.git fix misc issues causing eapi not to be valid svn path=/main/branches/prefix/; revision=11242 --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 0d9ba7c0b..38b610092 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -4526,12 +4526,14 @@ def eapi_is_supported(eapi): # now check if what's left is supported (can) properties = [ "2_pre0" ] # another clumpsy solution - for i in range(portage.const.EAPI): + for i in range(portage.const.EAPI + 1): properties.append(str(i)) for v in eapi: if v not in properties: return False + + return True def doebuild_environment(myebuild, mydo, myroot, mysettings, debug, use_cache, mydbapi):