aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/request.py
diff options
context:
space:
mode:
authorTom Christie2014-08-19 13:54:52 +0100
committerTom Christie2014-08-19 13:54:52 +0100
commitd2795dd26d7483ea0de119ae135eab0a94cf23d8 (patch)
tree218df2d9c5fc3db3626974b8f7424e80b92641c8 /rest_framework/request.py
parent19f31340627c949ca07a9e7b59299734fd991f75 (diff)
downloaddjango-rest-framework-d2795dd26d7483ea0de119ae135eab0a94cf23d8.tar.bz2
Resolve linting issues
Diffstat (limited to 'rest_framework/request.py')
-rw-r--r--rest_framework/request.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/request.py b/rest_framework/request.py
index 620b00ad..27532661 100644
--- a/rest_framework/request.py
+++ b/rest_framework/request.py
@@ -403,7 +403,7 @@ class Request(object):
self._not_authenticated()
raise
- if not user_auth_tuple is None:
+ if user_auth_tuple is not None:
self._authenticator = authenticator
self._user, self._auth = user_auth_tuple
return