diff options
author | Tim Peters <tim.peters@gmail.com> | 2006-04-18 17:32:12 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2006-04-18 17:32:12 +0000 |
commit | 584b0e0c3d27dc6b576366368bf7ca2f60e69e7c (patch) | |
tree | f2e33dbae88a59b367819920a5c4a2260f080788 /Lib/setuptools/site-patch.py | |
parent | 17a35f906c29e71510d749283b381d95a5de0316 (diff) | |
download | cpython-git-584b0e0c3d27dc6b576366368bf7ca2f60e69e7c.tar.gz |
Whilespace normalization (reindint.py).
Diffstat (limited to 'Lib/setuptools/site-patch.py')
-rwxr-xr-x | Lib/setuptools/site-patch.py | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/Lib/setuptools/site-patch.py b/Lib/setuptools/site-patch.py index 80e084b257..b1b27b9fbd 100755 --- a/Lib/setuptools/site-patch.py +++ b/Lib/setuptools/site-patch.py @@ -1,5 +1,5 @@ def __boot(): - import sys, imp, os, os.path + import sys, imp, os, os.path PYTHONPATH = os.environ.get('PYTHONPATH') if PYTHONPATH is None or (sys.platform=='win32' and not PYTHONPATH): PYTHONPATH = [] @@ -48,7 +48,7 @@ def __boot(): addsitedir(item) sys.__egginsert += oldpos # restore effective old position - + d,nd = makepath(stdpath[0]) insert_at = None new_path = [] @@ -66,17 +66,9 @@ def __boot(): # new path after the insert point, back-insert it new_path.insert(insert_at, item) insert_at += 1 - + sys.path[:] = new_path -if __name__=='site': +if __name__=='site': __boot() del __boot - - - - - - - - |