diff options
| author | Tim Graham <timograham@gmail.com> | 2017-12-07 17:13:07 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-07 17:13:07 -0500 |
| commit | 2b81faab257832d3dbd42947a884f7ec99685d18 (patch) | |
| tree | f6fbaefb4284567bcd0a0e2a27a6ce36938aaef3 /django/utils/http.py | |
| parent | 02d9419fe34eaa4d41d8a8df93373f286a36a2ae (diff) | |
Fixed #28906 -- Removed unnecessary bool() calls.
Diffstat (limited to 'django/utils/http.py')
| -rw-r--r-- | django/utils/http.py | 1 |
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: |
