diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2016-07-13 21:56:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-13 21:56:59 -0700 |
commit | 0d37c6175c7aa1f70d7d3013fd33aeb78ca1c1ea (patch) | |
tree | 8dcabe3b7b034de747351d30a4a96fef0edf198f | |
parent | 0fc24e1a277513a303d845b38ac71f854fbc8f65 (diff) | |
parent | f1e3a3fc4199c80e1eca7af0d1bd10544faf1542 (diff) | |
download | external_python_setuptools-0d37c6175c7aa1f70d7d3013fd33aeb78ca1c1ea.tar.gz external_python_setuptools-0d37c6175c7aa1f70d7d3013fd33aeb78ca1c1ea.tar.bz2 external_python_setuptools-0d37c6175c7aa1f70d7d3013fd33aeb78ca1c1ea.zip |
Merge pull request #639 from stepshal/block-comment
Format block comments.
-rw-r--r-- | setuptools/site-patch.py | 4 | ||||
-rw-r--r-- | setuptools/tests/environment.py | 8 | ||||
-rw-r--r-- | setuptools/tests/test_build_py.py | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/setuptools/site-patch.py b/setuptools/site-patch.py index 159d254e..680e9355 100644 --- a/setuptools/site-patch.py +++ b/setuptools/site-patch.py @@ -10,7 +10,7 @@ def __boot(): pic = getattr(sys, 'path_importer_cache', {}) stdpath = sys.path[len(PYTHONPATH):] mydir = os.path.dirname(__file__) - #print "searching",stdpath,sys.path + # print "searching",stdpath,sys.path for item in stdpath: if item==mydir or not item: @@ -39,7 +39,7 @@ def __boot(): else: raise ImportError("Couldn't find the real 'site' module") - #print "loaded", __file__ + # print "loaded", __file__ known_paths = dict([(makepath(item)[1], 1) for item in sys.path]) # 2.2 comp diff --git a/setuptools/tests/environment.py b/setuptools/tests/environment.py index a23c0504..e5237721 100644 --- a/setuptools/tests/environment.py +++ b/setuptools/tests/environment.py @@ -25,11 +25,11 @@ def run_setup_py(cmd, pypath=None, path=None, for envname in os.environ: env[envname] = os.environ[envname] - #override the python path if needed + # override the python path if needed if pypath is not None: env["PYTHONPATH"] = pypath - #overide the execution path if needed + # overide the execution path if needed if path is not None: env["PATH"] = path if not env.get("PATH", ""): @@ -50,11 +50,11 @@ def run_setup_py(cmd, pypath=None, path=None, except OSError: return 1, '' - #decode the console string if needed + # decode the console string if needed if hasattr(data, "decode"): # use the default encoding data = data.decode() data = unicodedata.normalize('NFC', data) - #communciate calls wait() + # communciate calls wait() return proc.returncode, data diff --git a/setuptools/tests/test_build_py.py b/setuptools/tests/test_build_py.py index ed1703ac..860c569c 100644 --- a/setuptools/tests/test_build_py.py +++ b/setuptools/tests/test_build_py.py @@ -26,6 +26,6 @@ def test_directories_in_package_data_glob(tmpdir_as_cwd): package_data={'': ['path/*']}, )) os.makedirs('path/subpath') - #with contexts.quiet(): + # with contexts.quiet(): dist.parse_command_line() dist.run_commands() |