From bb726ca19f434f5055c0efceefe48d89469fcbbe Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Sat, 6 Apr 2013 13:25:26 -0600 Subject: 2to3: Apply `print` fixer. Add `print_function` to all `from __future__ import ...` statements and use the python3 print function syntax everywhere. Closes #3078. --- tools/py3tool.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/py3tool.py') diff --git a/tools/py3tool.py b/tools/py3tool.py index 07c01c42b..45a8def4c 100755 --- a/tools/py3tool.py +++ b/tools/py3tool.py @@ -18,7 +18,7 @@ When running py3tool again, only changed files are re-processed, which makes the test-bugfix cycle faster. """ -from __future__ import division, absolute_import +from __future__ import division, absolute_import, print_function from optparse import OptionParser import shutil @@ -80,6 +80,7 @@ FIXES_TO_SKIP = [ 'import', 'imports', 'imports2', + 'print', ] skip_fixes= [] -- cgit v1.2.1