Remove the KVERS environment variable since it's code that creates it is broken anywa...
authorZac Medico <zmedico@gentoo.org>
Sun, 4 Mar 2007 02:36:26 +0000 (02:36 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 4 Mar 2007 02:36:26 +0000 (02:36 -0000)
svn path=/main/trunk/; revision=6166

pym/portage/__init__.py

index 77b730715e93a8edec3c2ec1ca2f05831d43ed60..3a51aa7ca9c6111e37ed8ad3c275f954555920d1 100644 (file)
@@ -2992,10 +2992,6 @@ def doebuild_environment(myebuild, mydo, myroot, mysettings, debug, use_cache, m
                else:
                        mysettings["KV"]=""
 
-       if (mydo!="depend") or not mysettings.has_key("KVERS"):
-               myso=os.uname()[2]
-               mysettings["KVERS"]=myso[1]
-
        # Allow color.map to control colors associated with einfo, ewarn, etc...
        mycolors = []
        for c in ("GOOD", "WARN", "BAD", "HILITE", "BRACKET"):