summaryrefslogtreecommitdiff
path: root/django/http/request.py
diff options
context:
space:
mode:
authorMaxime Lorant <maxime.lorant@gmail.com>2015-08-31 22:14:35 +0200
committerTim Graham <timograham@gmail.com>2015-08-31 17:37:21 -0400
commit5153a3bfdcec82324d67ff79862384288cf6afe6 (patch)
treea03c5ee4bdf3b5b6529df479fbac123a3065d82a /django/http/request.py
parentd4b10a725614322769a419180039771634a06571 (diff)
downloaddjango-5153a3bfdcec82324d67ff79862384288cf6afe6.tar.gz
Fixed #25331 -- Removed trailing blank lines in docstrings.
Diffstat (limited to 'django/http/request.py')
-rw-r--r--django/http/request.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/django/http/request.py b/django/http/request.py
index 938d833551..b50392abd2 100644
--- a/django/http/request.py
+++ b/django/http/request.py
@@ -457,7 +457,6 @@ class QueryDict(MultiValueDict):
'next=%2Fa%26b%2F'
>>> q.urlencode(safe='/')
'next=/a%26b/'
-
"""
output = []
if safe:
@@ -524,7 +523,6 @@ def validate_host(host, allowed_hosts):
already had the port, if any, stripped off.
Return ``True`` for a valid host, ``False`` otherwise.
-
"""
host = host[:-1] if host.endswith('.') else host