kiddouk / redisco

A Python Library for Simple Models and Containers Persisted in Redis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ge method of SortedSet only returns greater than, not greater than or equal to

luipugs opened this issue · comments

In the ge method of SortedSet in containers.py, the score for the min should not have an open parenthesis. With the open parenthesis it becomes an open interval, as described in the documentation for redis: http://redis.io/commands/zrangebyscore.

Looks like the implementation has been changed, so maybe this has been fixed?

yes, this has been fixed in 2e74152