aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools
diff options
context:
space:
mode:
authorstepshal <nessento@openmailbox.org>2016-10-25 08:37:18 +0700
committerstepshal <nessento@openmailbox.org>2016-10-25 08:37:18 +0700
commitdd25d1f858cd02211f4d105ab19d6c3ce90d4048 (patch)
tree40ea155756ce6ace5e17f37d8477edc85cabbe3e /setuptools
parentd382def1367e9d9b288e9b04b6f2da5987052b5b (diff)
downloadexternal_python_setuptools-dd25d1f858cd02211f4d105ab19d6c3ce90d4048.tar.gz
external_python_setuptools-dd25d1f858cd02211f4d105ab19d6c3ce90d4048.tar.bz2
external_python_setuptools-dd25d1f858cd02211f4d105ab19d6c3ce90d4048.zip
Fix spacing after comment hash.
Diffstat (limited to 'setuptools')
-rw-r--r--setuptools/command/build_ext.py2
-rwxr-xr-xsetuptools/package_index.py6
-rw-r--r--setuptools/site-patch.py2
3 files changed, 5 insertions, 5 deletions
diff --git a/setuptools/command/build_ext.py b/setuptools/command/build_ext.py
index 12dc88cd..a66e0bf3 100644
--- a/setuptools/command/build_ext.py
+++ b/setuptools/command/build_ext.py
@@ -62,7 +62,7 @@ if_dl = lambda s: s if have_rtld else ''
def get_abi3_suffix():
"""Return the file extension for an abi3-compliant Extension()"""
for suffix, _, _ in (s for s in imp.get_suffixes() if s[2] == imp.C_EXTENSION):
- if '.abi3' in suffix: # Unix
+ if '.abi3' in suffix: # Unix
return suffix
elif suffix == '.pyd': # Windows
return suffix
diff --git a/setuptools/package_index.py b/setuptools/package_index.py
index e5249b27..024fab98 100755
--- a/setuptools/package_index.py
+++ b/setuptools/package_index.py
@@ -515,10 +515,10 @@ class PackageIndex(Environment):
"""Add `urls` to the list that will be prescanned for searches"""
for url in urls:
if (
- self.to_scan is None # if we have already "gone online"
- or not URL_SCHEME(url) # or it's a local file/directory
+ self.to_scan is None # if we have already "gone online"
+ or not URL_SCHEME(url) # or it's a local file/directory
or url.startswith('file:')
- or list(distros_for_url(url)) # or a direct package link
+ or list(distros_for_url(url)) # or a direct package link
):
# then go ahead and process it now
self.scan_url(url)
diff --git a/setuptools/site-patch.py b/setuptools/site-patch.py
index 92194abd..0d2d2ff8 100644
--- a/setuptools/site-patch.py
+++ b/setuptools/site-patch.py
@@ -13,7 +13,7 @@ def __boot():
for item in stdpath:
if item == mydir or not item:
- continue # skip if current dir. on Windows, or my own directory
+ continue # skip if current dir. on Windows, or my own directory
importer = pic.get(item)
if importer is not None:
loader = importer.find_module('site')