summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbraham Toriz <awonderfulcode@gmail.com>2017-08-14 10:28:12 -0500
committerAbraham Toriz <awonderfulcode@gmail.com>2017-08-14 10:28:12 -0500
commit61a439793bc8c2f416628c45db128f4d25d25b0c (patch)
treeb259fa73b021c77cc952026523d5aa1cb5b5151f
parent5a43b78181f6b99076e112d7765bfed3fcd3d84f (diff)
downloadredis-py-61a439793bc8c2f416628c45db128f4d25d25b0c.tar.gz
pep8
-rwxr-xr-xredis/client.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/redis/client.py b/redis/client.py
index 161fad8..d3b87d5 100755
--- a/redis/client.py
+++ b/redis/client.py
@@ -448,7 +448,8 @@ class StrictRedis(object):
'CLUSTER SETSLOT': bool_ok,
'CLUSTER SLAVES': parse_cluster_nodes,
'GEOPOS': lambda r: list(map(lambda ll: (float(ll[0]),
- float(ll[1])) if ll is not None else None, r)),
+ float(ll[1]))
+ if ll is not None else None, r)),
'GEOHASH': lambda r: list(map(nativestr, r)),
'GEORADIUS': parse_georadius_generic,
'GEORADIUSBYMEMBER': parse_georadius_generic,