Skip to content

Commit

Permalink
ENH: do not make backup copies when running 2to3.
Browse files Browse the repository at this point in the history
Backups are not used and were being included in installers by default.

Thanks to Christoph Gohlke for the patch.
  • Loading branch information
rgommers committed Feb 27, 2011
1 parent 35fe2e4 commit f7dae4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/py3tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def sync_2to3(src, dst, patchfile=None, clean=False):
_old_stdout = sys.stdout
try:
sys.stdout = StringIO()
lib2to3.main.main("lib2to3.fixes", ['-w'] + flags.split()+filenames)
lib2to3.main.main("lib2to3.fixes", ['-w', '-n'] + flags.split()+filenames)
finally:
sys.stdout = _old_stdout

Expand Down

0 comments on commit f7dae4f

Please sign in to comment.