posativ / acrylamid

(unmaintained) static blog generator in python with incremental rendering ⛺
http://posativ.org/acrylamid/
Other
277 stars 40 forks source link

Fix wrong except IndexError -> StopIteration #231

Closed naufraghi closed 9 years ago

naufraghi commented 9 years ago

In FilterList.__getitem__ where the match is checked a wrong exception is expected. Using an iterator and not a list[idx], a StopIteration is what we can expect.

posativ commented 9 years ago

It fixes https://github.com/posativ/acrylamid/issues/229, right?

naufraghi commented 9 years ago

I think so

On Wed, Dec 10, 2014 at 10:23 AM, Martin Zimmermann < notifications@github.com> wrote:

It fixes #229 https://github.com/posativ/acrylamid/issues/229, right?

— Reply to this email directly or view it on GitHub https://github.com/posativ/acrylamid/pull/231#issuecomment-66424068.

Matteo Bertini http://www.slug.it/naufraghi

posativ commented 9 years ago

Thanks!