aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/package_index.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-07-20 11:21:44 -0400
committerGitHub <noreply@github.com>2016-07-20 11:21:44 -0400
commit599c4f7f9789af39b541272c06b082141aae7fb3 (patch)
tree4b0fafe6c62f108a04a512b871ad25bfca986e85 /setuptools/package_index.py
parent7303c3281c2a8ac3b4d9878a92ab55bbfb92faf3 (diff)
parent93612718350a0dd0bb09d21986ef9333a6f5cb1f (diff)
downloadexternal_python_setuptools-599c4f7f9789af39b541272c06b082141aae7fb3.tar.gz
external_python_setuptools-599c4f7f9789af39b541272c06b082141aae7fb3.tar.bz2
external_python_setuptools-599c4f7f9789af39b541272c06b082141aae7fb3.zip
Merge pull request #644 from stepshal/spacing-comment-hash
Fix spacing after comment hash.
Diffstat (limited to 'setuptools/package_index.py')
-rwxr-xr-xsetuptools/package_index.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/package_index.py b/setuptools/package_index.py
index 52c9c3a6..8764faa6 100755
--- a/setuptools/package_index.py
+++ b/setuptools/package_index.py
@@ -325,7 +325,7 @@ class PackageIndex(Environment):
base = f.url # handle redirects
page = f.read()
- if not isinstance(page, str): # We are in Python 3 and got bytes. We want str.
+ if not isinstance(page, str): # We are in Python 3 and got bytes. We want str.
if isinstance(f, urllib.error.HTTPError):
# Errors have no charset, assume latin1:
charset = 'latin-1'