Mercurial > genshi > mirror
view examples_to_py3k.sh @ 966:570226c48119 trunk
Templates should be loaded as bytes -- the encoding is passed around with the source explicitly. Fixes bugs in test suite in Python 3.3.
author | hodgestar |
---|---|
date | Sat, 29 Dec 2012 19:12:14 +0000 |
parents | d010a80ebb4f |
children |
line wrap: on
line source
#!/bin/sh # # Script to run 2to3 on files not covered by setup.py # export PYTHONIOENCODING=utf8 # General 2to3 run 2to3 -w --no-diffs examples/