andymccurdy/redis-py — pull request #303 by pims (2012-11-26 04:59:09+00:00)
Title: Bitcount start end params raised Exception when equal to 0

`bitcount mykey 0 -1`

was triggering `raise RedisError("Both start and end must be specified")` because `if` and `not` evaluated `0` to `False` but we want to check whether both are not None when at least one is specified.