diff options
| author | Piotr Jakimiak <pj306228@students.mimuw.edu.pl> | 2015-05-13 20:51:18 +0200 |
|---|---|---|
| committer | Piotr Jakimiak <pj306228@students.mimuw.edu.pl> | 2015-05-13 20:51:18 +0200 |
| commit | 4157c502a5202798d0f73645181cb82aa71d34d9 (patch) | |
| tree | 78c99c7fd271f6c25a71b2ccf781ab7928396677 /django/http/request.py | |
| parent | f61c4f490dc4c8ec6ba94ad4f40247db2425fc3e (diff) | |
Removed unnecessary arguments in .get method calls
Diffstat (limited to 'django/http/request.py')
| -rw-r--r-- | django/http/request.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/http/request.py b/django/http/request.py index 97592b444a..fbd355eeff 100644 --- a/django/http/request.py +++ b/django/http/request.py @@ -172,7 +172,7 @@ class HttpRequest(object): raise ImproperlyConfigured( 'The SECURE_PROXY_SSL_HEADER setting must be a tuple containing two values.' ) - if self.META.get(header, None) == value: + if self.META.get(header) == value: return 'https' return self._get_scheme() |
