summaryrefslogtreecommitdiff
path: root/django/test
diff options
context:
space:
mode:
authorPiotr Jakimiak <pj306228@students.mimuw.edu.pl>2015-05-13 20:51:18 +0200
committerPiotr Jakimiak <pj306228@students.mimuw.edu.pl>2015-05-13 20:51:18 +0200
commit4157c502a5202798d0f73645181cb82aa71d34d9 (patch)
tree78c99c7fd271f6c25a71b2ccf781ab7928396677 /django/test
parentf61c4f490dc4c8ec6ba94ad4f40247db2425fc3e (diff)
Removed unnecessary arguments in .get method calls
Diffstat (limited to 'django/test')
-rw-r--r--django/test/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/test/client.py b/django/test/client.py
index d845fe76a7..043bf884a1 100644
--- a/django/test/client.py
+++ b/django/test/client.py
@@ -414,7 +414,7 @@ class Client(RequestFactory):
"""
if apps.is_installed('django.contrib.sessions'):
engine = import_module(settings.SESSION_ENGINE)
- cookie = self.cookies.get(settings.SESSION_COOKIE_NAME, None)
+ cookie = self.cookies.get(settings.SESSION_COOKIE_NAME)
if cookie:
return engine.SessionStore(cookie.value)
else: