[Scipy-svn] r7175 - branches/0.9.x/tools
scipy-svn at scipy.org
scipy-svn at scipy.org
Sun Feb 27 07:06:38 EST 2011
Author: rgommers
Date: 2011-02-27 06:06:38 -0600 (Sun, 27 Feb 2011)
New Revision: 7175
Modified:
branches/0.9.x/tools/py3tool.py
Log:
ENH: do not make backup copies when running 2to3.
Backups are not used and were being included in installers by default.
Thanks to Christoph Gohlke for the patch.
Modified: branches/0.9.x/tools/py3tool.py
===================================================================
--- branches/0.9.x/tools/py3tool.py 2011-02-27 12:06:21 UTC (rev 7174)
+++ branches/0.9.x/tools/py3tool.py 2011-02-27 12:06:38 UTC (rev 7175)
@@ -329,7 +329,7 @@
_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
More information about the Scipy-svn
mailing list