From: Jeremy Hylton Date: Tue, 2 Dec 2003 15:00:54 +0000 (+0000) Subject: Revert previous checkin. It was meant for another branch. X-Git-Tag: v2.3.3c1~19 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fd9b9c172aef14ca1bd78662adf711a66a5d3492;p=thirdparty%2FPython%2Fcpython.git Revert previous checkin. It was meant for another branch. --- diff --git a/Lib/site.py b/Lib/site.py index 27974ce9c04c..7282190eee59 100644 --- a/Lib/site.py +++ b/Lib/site.py @@ -91,9 +91,7 @@ del dir, dircase, L # using the -S option for Python. See http://www.python.org/sf/586680 if (os.name == "posix" and sys.path and os.path.basename(sys.path[-1]) == "Modules"): -## from distutils.util import get_platform - def get_platform(): - return "linux-i686" + from distutils.util import get_platform s = "build/lib.%s-%.3s" % (get_platform(), sys.version) s = os.path.join(os.path.dirname(sys.path[-1]), s) sys.path.append(s)