summaryrefslogtreecommitdiff
path: root/django/http
diff options
context:
space:
mode:
authorChristopher Medrela <chris.medrela@gmail.com>2013-11-26 10:43:46 +0100
committerTim Graham <timograham@gmail.com>2013-11-28 08:50:11 -0500
commit7477a4ffde4781f4e84503e66d7f775074089887 (patch)
treed3bbeaa6e808deb92c0fb86cf4ae8163539d84b1 /django/http
parentd1df395f3ae768e495a105db2f85352c44ba1c28 (diff)
Fixed E125 pep8 warnings
Diffstat (limited to 'django/http')
-rw-r--r--django/http/request.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/http/request.py b/django/http/request.py
index 1aefe6bf22..6bce1f718d 100644
--- a/django/http/request.py
+++ b/django/http/request.py
@@ -66,7 +66,7 @@ class HttpRequest(object):
"""Returns the HTTP host using the environment or request headers."""
# We try three options, in order of decreasing preference.
if settings.USE_X_FORWARDED_HOST and (
- 'HTTP_X_FORWARDED_HOST' in self.META):
+ 'HTTP_X_FORWARDED_HOST' in self.META):
host = self.META['HTTP_X_FORWARDED_HOST']
elif 'HTTP_HOST' in self.META:
host = self.META['HTTP_HOST']