summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@googlemail.com>2011-04-17 16:15:53 +0200
committerRalf Gommers <ralf.gommers@googlemail.com>2011-04-17 16:15:53 +0200
commit7ad8fefb71eedbccff654ec8dc40c06b89af8b9b (patch)
treedfd16209131de6a5b5033a4a98472b7491469fc5 /tools
parentfe3852fe7c48c6dbec508b4f97c47b76c246090a (diff)
downloadnumpy-7ad8fefb71eedbccff654ec8dc40c06b89af8b9b.tar.gz
ENH: do not make backup copies when running 2to3.
Copied from scipy commit f7dae4f2.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/py3tool.py2
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