summaryrefslogtreecommitdiff
path: root/redis/client.py
diff options
context:
space:
mode:
authorEric Urban <hydrogen18@gmail.com>2013-10-19 19:40:54 -0400
committerEric Urban <hydrogen18@gmail.com>2013-10-19 19:40:54 -0400
commitbc782da7be1856faacfe30df9c8e6c737e0d2dc1 (patch)
treeb1da155c9b256660984c1eff4d69b4f001c68a1d /redis/client.py
parent75e3a1bcb7bc0f1ab189dfc275ca7088889f4c3b (diff)
downloadredis-py-bc782da7be1856faacfe30df9c8e6c737e0d2dc1.tar.gz
Update client.py
PEP 8
Diffstat (limited to 'redis/client.py')
-rw-r--r--redis/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/client.py b/redis/client.py
index b2555ce..70c2acf 100644
--- a/redis/client.py
+++ b/redis/client.py
@@ -353,7 +353,7 @@ class StrictRedis(object):
'decode_responses': decode_responses,
}
# based on input, setup appropriate connection args
- if unix_socket_path != None:
+ if unix_socket_path is not None:
kwargs.update({
'path': unix_socket_path,
'connection_class': UnixDomainSocketConnection