diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-11-09 05:08:07 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-11-09 05:08:07 (GMT) |
commit | 230a60c6ec4861342278fb4546ebc907baf3b23b (patch) | |
tree | 00135e543b64638036efcacdc9d5dbfde7988959 /Lib/site.py | |
parent | b0ead4ea4a1e0f4e5dc2a00110be8038586c9e21 (diff) | |
download | cpython-230a60c6ec4861342278fb4546ebc907baf3b23b.zip cpython-230a60c6ec4861342278fb4546ebc907baf3b23b.tar.gz cpython-230a60c6ec4861342278fb4546ebc907baf3b23b.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Lib/site.py')
-rw-r--r-- | Lib/site.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/site.py b/Lib/site.py index 0d1ea39..a672765 100644 --- a/Lib/site.py +++ b/Lib/site.py @@ -94,7 +94,7 @@ del dir, dircase, L # (especially for Guido :-) # XXX This should not be part of site.py, since it is needed even when # using the -S option for Python. See http://www.python.org/sf/586680 -if (os.name == "posix" and sys.path and +if (os.name == "posix" and sys.path and os.path.basename(sys.path[-1]) == "Modules"): from distutils.util import get_platform s = "build/lib.%s-%.3s" % (get_platform(), sys.version) |