newsapps/flask-tarbell — pull request #104 by eads (2014-03-21 16:32:51+00:00)
Title: refactor opening settings.yaml in tarbell configure, fixes #103

Handle opening or creating file using try/except. There's still a bit of cruft: there's an if block checking on the file existence in a try/except block designed to catch a missing file. But if we don't check, the "backup" print statement will appear even when there's no file to backup and Tarbell bombs.