Permalink
Browse files

Fix for redis-py v2.9.0 and freeze that version

  • Loading branch information...
1 parent cc0d43c commit cecde5c3ff969d0a80e469f5a0d614d5f8b3f4e7 @xaralis xaralis committed Jan 22, 2014
Showing with 2 additions and 2 deletions.
  1. +1 −1 dev_requirements.txt
  2. +1 −1 ella/core/cache/redis.py
@@ -2,4 +2,4 @@
nose
coverage
feedparser
-redis
+redis==2.9.0
@@ -244,7 +244,7 @@ def get_listings(self, offset=0, count=10):
)
else:
pipe = pipe.zrevrange(key,
- start=offset, num=offset + count - 1,
+ start=offset, end=offset + count - 1,
withscores=True
)
results = pipe.execute()

0 comments on commit cecde5c

Please sign in to comment.