I want a frikkin compiler to tell me I am not sane...
authorFabian Groffen <grobian@gentoo.org>
Mon, 28 Jul 2008 18:05:08 +0000 (18:05 -0000)
committerFabian Groffen <grobian@gentoo.org>
Mon, 28 Jul 2008 18:05:08 +0000 (18:05 -0000)
svn path=/main/branches/prefix/; revision=11241

pym/portage/__init__.py

index f75c28ce60655a4c2819b42d060110a0e4e762dc..0d9ba7c0b5e7ab832224e05d424d507b21e59d06 100644 (file)
@@ -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):