aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/package_index.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2013-12-01 05:49:33 -0500
committerJason R. Coombs <jaraco@jaraco.com>2013-12-01 05:49:33 -0500
commit35d9509cd23b7830c91398fa5b3f2ffe6ffe7403 (patch)
tree8a98dc59bcdd4421f9cae6cb21097ed3afe3a12d /setuptools/package_index.py
parent1e811c32250676cc83e79e4063d5420eb72a8f83 (diff)
downloadexternal_python_setuptools-35d9509cd23b7830c91398fa5b3f2ffe6ffe7403.tar.gz
external_python_setuptools-35d9509cd23b7830c91398fa5b3f2ffe6ffe7403.tar.bz2
external_python_setuptools-35d9509cd23b7830c91398fa5b3f2ffe6ffe7403.zip
Reindent for clarity
Diffstat (limited to 'setuptools/package_index.py')
-rwxr-xr-xsetuptools/package_index.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/package_index.py b/setuptools/package_index.py
index 4a3f49c7..4ffafa28 100755
--- a/setuptools/package_index.py
+++ b/setuptools/package_index.py
@@ -1053,5 +1053,5 @@ def local_open(url):
else:
status, message, body = 404, "Path not found", "Not found"
- return HTTPError(url, status, message,
- {'content-type':'text/html'}, StringIO(body))
+ headers = {'content-type': 'text/html'}
+ return HTTPError(url, status, message, headers, StringIO(body))