Make run_wsgi.py python3 compliant & correct encoding problems

Merged
#11 · Created  · Last updated

Merged pull request

Merged in CodeMan99/mako (pull request #11)

6d43b55·Author: ·Closed by: ·2014-12-10

Description

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

0 attachments

0 comments

Loading commits...