From: Fabian Groffen Date: Mon, 28 Jul 2008 18:05:08 +0000 (-0000) Subject: I want a frikkin compiler to tell me I am not sane... X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=aad3cd4db1972d5a4bea3eff3b20383e910c2eec;p=portage.git I want a frikkin compiler to tell me I am not sane... svn path=/main/branches/prefix/; revision=11241 --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index f75c28ce6..0d9ba7c0b 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -4527,10 +4527,10 @@ 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): - propeties.append(str(i)) + properties.append(str(i)) for v in eapi: - if v not in properties + if v not in properties: return False def doebuild_environment(myebuild, mydo, myroot, mysettings, debug, use_cache, mydbapi):