]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Revert previous checkin. It was meant for another branch.
authorJeremy Hylton <jeremy@alum.mit.edu>
Tue, 2 Dec 2003 15:00:54 +0000 (15:00 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Tue, 2 Dec 2003 15:00:54 +0000 (15:00 +0000)
Lib/site.py

index 27974ce9c04c677a328fa5592264b52e0eca3657..7282190eee59ab9253a03dc2e6fb27c43922bc1b 100644 (file)
@@ -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)