taichino / croniter

croniter is a python module to provide iteration for datetime object.
http://github.com/taichino/croniter
387 stars 105 forks source link

Better handling of invalid expressions #65

Closed int3rlop3r closed 8 years ago

int3rlop3r commented 8 years ago

Expressions such as negative values and invalid characters used to throw a KeyError with a not so helpful error message. In this change invalid expressions will throw a ValueError with a more helpful error message.

I believe this also resolves issue #25