Closed Munksgaard closed 3 years ago
Considering how all versions before 3.6 are officially EOL, I don't think that this should be done, considering how it makes code quality worse and don't think that it's reasonable to hold future contributors to the standard of not using with
statements. You mention in the other issue that your server has an old version of Python -- sounds to me like you need to update your server, instead of updating this script.
That does sound reasonable indeed, thank you for considering though.
@clarfonthey - totally agreed, thanks for reviewing. Apparently my email client decided Github notifications were spam so I'm just seeing this now.
Fixes #19
This makes the script work in older versions of Python. I've tested with 3.4.2.
I haven't tested whether it still works with 3.7 or 3.6, so you should probably double-check that before merging.