diff options
author | Ralf Gommers <ralf.gommers@googlemail.com> | 2011-04-17 16:15:53 +0200 |
---|---|---|
committer | Ralf Gommers <ralf.gommers@googlemail.com> | 2011-04-17 16:15:53 +0200 |
commit | 7ad8fefb71eedbccff654ec8dc40c06b89af8b9b (patch) | |
tree | dfd16209131de6a5b5033a4a98472b7491469fc5 /tools | |
parent | fe3852fe7c48c6dbec508b4f97c47b76c246090a (diff) | |
download | numpy-7ad8fefb71eedbccff654ec8dc40c06b89af8b9b.tar.gz |
ENH: do not make backup copies when running 2to3.
Copied from scipy commit f7dae4f2.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/py3tool.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/py3tool.py b/tools/py3tool.py index bb0a66b30..5be7d6c8e 100755 --- a/tools/py3tool.py +++ b/tools/py3tool.py @@ -268,7 +268,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 |