summaryrefslogtreecommitdiff
path: root/django/utils/http.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/utils/http.py')
-rw-r--r--django/utils/http.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/django/utils/http.py b/django/utils/http.py
index 7e4e58229f..c1c616a6fd 100644
--- a/django/utils/http.py
+++ b/django/utils/http.py
@@ -324,7 +324,6 @@ def _urlsplit(url, scheme='', allow_fragments=True):
Note that we don't break the components up in smaller bits
(e.g. netloc is a single string) and we don't expand % escapes."""
url, scheme, _coerce_result = _coerce_args(url, scheme)
- allow_fragments = bool(allow_fragments)
netloc = query = fragment = ''
i = url.find(':')
if i > 0: