From e4d27caae7fd429e1bf6285205eed210b156600e Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Mon, 28 Jul 2008 18:23:29 +0000 Subject: [PATCH] fix misc issues causing eapi not to be valid svn path=/main/branches/prefix/; revision=11242 --- pym/portage/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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): -- 2.26.2