diff options
Diffstat (limited to 'setuptools/site-patch.py')
-rw-r--r-- | setuptools/site-patch.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/setuptools/site-patch.py b/setuptools/site-patch.py index f09ab522..92194abd 100644 --- a/setuptools/site-patch.py +++ b/setuptools/site-patch.py @@ -40,13 +40,13 @@ def __boot(): known_paths = dict([(makepath(item)[1], 1) for item in sys.path]) # 2.2 comp - oldpos = getattr(sys, '__egginsert', 0) # save old insertion position - sys.__egginsert = 0 # and reset the current one + oldpos = getattr(sys, '__egginsert', 0) # save old insertion position + sys.__egginsert = 0 # and reset the current one for item in PYTHONPATH: addsitedir(item) - sys.__egginsert += oldpos # restore effective old position + sys.__egginsert += oldpos # restore effective old position d, nd = makepath(stdpath[0]) insert_at = None |