Skip to content
Myr

Fixed an unicode error after 2to3

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent 9e9cf47 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:jinja2/environment.py+1 added-1 removed
570 unmodified lines
571 u'\xff\xff\xff\xff'.encode('iso-8859-15')572573 # Python 3.3 added a source filesize to the header574 if sys.version_info >= (3, 3):575 py_header += '\x00\x00\x00\x00'575 py_header += u'\x00\x00\x00\x00'.encode('iso-8859-15')576577 def write_file(filename, data, mode):578 if zip:579 info = ZipInfo(filename)
546 unmodified lines