summaryrefslogtreecommitdiff
path: root/redis/client.py
diff options
context:
space:
mode:
authorandy <andy@whiskeymedia.com>2013-04-22 21:57:26 -0700
committerandy <andy@whiskeymedia.com>2013-04-22 21:57:26 -0700
commitc968d78bfb3a977ce3b14fab7196f19cec645bdf (patch)
tree23bcba305ba849ac60589b79f804a707b399022d /redis/client.py
parentb16d00993d61aa53304342256f8280bdae6ca21b (diff)
downloadredis-py-c968d78bfb3a977ce3b14fab7196f19cec645bdf.tar.gz
pep8
Diffstat (limited to 'redis/client.py')
-rw-r--r--redis/client.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/redis/client.py b/redis/client.py
index ea8b5cf..941fb1d 100644
--- a/redis/client.py
+++ b/redis/client.py
@@ -137,6 +137,7 @@ def sort_return_tuples(response, **options):
n = options['groups']
return list(izip(*[response[i::n] for i in range(n)]))
+
def int_or_none(response):
if response is None:
return None