diff options
| author | stepshal <nessento@openmailbox.org> | 2016-07-14 09:26:06 +0700 |
|---|---|---|
| committer | stepshal <nessento@openmailbox.org> | 2016-07-14 09:28:52 +0700 |
| commit | f749ccab1e55723848946c9aba5c3eddebe0b24e (patch) | |
| tree | cbec0027e0b718ae6844e3c4eddb71574c33dae0 /setuptools/site-patch.py | |
| parent | 45de6ea8b9392771a6a14e012605614a7c148506 (diff) | |
| download | python-setuptools-git-f749ccab1e55723848946c9aba5c3eddebe0b24e.tar.gz | |
Add missing whitespace.
Diffstat (limited to 'setuptools/site-patch.py')
| -rw-r--r-- | setuptools/site-patch.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/setuptools/site-patch.py b/setuptools/site-patch.py index c2168019..159d254e 100644 --- a/setuptools/site-patch.py +++ b/setuptools/site-patch.py @@ -7,7 +7,7 @@ def __boot(): else: PYTHONPATH = PYTHONPATH.split(os.pathsep) - pic = getattr(sys,'path_importer_cache',{}) + pic = getattr(sys, 'path_importer_cache', {}) stdpath = sys.path[len(PYTHONPATH):] mydir = os.path.dirname(__file__) #print "searching",stdpath,sys.path @@ -25,14 +25,14 @@ def __boot(): else: try: import imp # Avoid import loop in Python >= 3.3 - stream, path, descr = imp.find_module('site',[item]) + stream, path, descr = imp.find_module('site', [item]) except ImportError: continue if stream is None: continue try: # This should actually reload the current module - imp.load_module('site',stream,path,descr) + imp.load_module('site', stream, path, descr) finally: stream.close() break @@ -41,9 +41,9 @@ def __boot(): #print "loaded", __file__ - 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 + oldpos = getattr(sys, '__egginsert', 0) # save old insertion position sys.__egginsert = 0 # and reset the current one for item in PYTHONPATH: |
