Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

score_cast_func doesn't work with desc condiction #250

Merged
merged 1 commit into from

2 participants

@youngking

No description provided.

@andymccurdy andymccurdy merged commit 68c0345 into andymccurdy:master
@andymccurdy
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 8, 2012
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  redis/client.py
View
2  redis/client.py
@@ -898,7 +898,7 @@ def zrange(self, name, start, end, desc=False, withscores=False,
``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')
Something went wrong with that request. Please try again.