summaryrefslogtreecommitdiff
path: root/redis/client.py
diff options
context:
space:
mode:
authorAndy McCurdy <sedrik@gmail.com>2012-06-10 23:40:34 -0700
committerAndy McCurdy <sedrik@gmail.com>2012-06-10 23:40:34 -0700
commit68c034586650c03b478f06bf13974511ccadbd6c (patch)
treea96424cad5fbd30773e05524ce3b59093b81e7e7 /redis/client.py
parent5abb1c6a27fda6481dc8115687fbe3110421a8b4 (diff)
parentcaf4bc0ab930d9fc48a4558abd51f60912a42131 (diff)
downloadredis-py-68c034586650c03b478f06bf13974511ccadbd6c.tar.gz
Merge pull request #250 from youngking/master
score_cast_func doesn't work with desc condiction
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 84f43b1..4b34986 100644
--- a/redis/client.py
+++ b/redis/client.py
@@ -900,7 +900,7 @@ class StrictRedis(object):
``score_cast_func`` a callable used to cast the score return value
"""
if desc:
- return self.zrevrange(name, start, end, withscores)
+ return self.zrevrange(name, start, end, withscores, score_cast_func)
pieces = ['ZRANGE', name, start, end]
if withscores:
pieces.append('withscores')