Add 2to3.py script to run both the default and our custom fixes locally
[jinja2.git] / 2to3.py
1 #!/usr/bin/python3.3
2 import sys
3 from lib2to3.main import main
4
5 def run(fixer_pkg):
6     ret = main(fixer_pkg)
7     if ret:
8         sys.exit(ret)
9
10 run('lib2to3.fixes')
11 run('custom_fixers')