aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/package_index.py
diff options
context:
space:
mode:
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))