mozilla/mozdownload — pull request #84 by Nebelhom (2013-05-22 15:12:57+00:00)
Title: Issue #81: --retry-attempts option is not recognized if parent folder cannot be found

This pull addresses Issue #81

All I did was create another while try/except block around the majority of the init of the DailyScraper class. It's not pretty, I know, but it works.

I would be very happy to change it to something else, if someone has a better idea.

Also, if there is another while try/except block that I would have to create, it might be a good idea to think of something more general, as they tend to look very similar.

(I thought of something along the lines of this: stackoverflow.com/questions/7088009/python-try-except-as-an-expression )