diff options
Diffstat (limited to 'setuptools/site-patch.py')
-rw-r--r-- | setuptools/site-patch.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/site-patch.py b/setuptools/site-patch.py index 3e89ef2f..9af7c690 100644 --- a/setuptools/site-patch.py +++ b/setuptools/site-patch.py @@ -23,7 +23,7 @@ def __boot(): break else: try: - import imp # Avoid import loop in Python >= 3.3 + import imp # Avoid import loop in Python >= 3.3 stream, path, descr = imp.find_module('site', [item]) except ImportError: continue @@ -38,7 +38,7 @@ def __boot(): else: raise ImportError("Couldn't find the real 'site' module") - known_paths = dict([(makepath(item)[1], 1) for item in sys.path]) # 2.2 comp + 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 |