commit | b9072319c77cb183f05239f54d016f26a2a803db | [log] [tgz] |
---|---|---|
author | CodeMan99 <cody.taylor@maternityneighborhood.com> | Wed Dec 10 11:40:58 2014 -0500 |
committer | CodeMan99 <cody.taylor@maternityneighborhood.com> | Wed Dec 10 11:40:58 2014 -0500 |
tree | 5269ee690fc87d716e1606d3040c92d26f1fa703 | |
parent | 756e7da0afda60365bc29a9497a8f3b7a8b10cb9 [diff] |
Make run_wsgi.py python3 compliant Changes include: - Add __future__ for python2 - Set "ascii" encoding for TemplateLookup - Remove text option for error handling (header is already set to HTML) - Break apart exception handling for clarity - Check that a file exists before opening it - Use `open` not `file` with 'rb' flags - Remove unnessary "default" `extensions_map` - Python3 style print statement