ask/celery — pull request #617 by dhepper (2012-02-21 17:59:00+00:00)
Title: Incorrect parsing of crontab ranges with steps

Hi,

according to crontab(5) _Ranges can include "steps", so "1-9/2" is the same as "1,3,5,7,9"._

However, crontab_parser behaves differently:

>>> from celery.schedules import crontab_parser
>>> crontab_parser().parse("1-9/2")
set([7, 1, 3, 5, 9])

I fixed the behavior of crontab_parser and the related tests.