summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-09-03 01:53:28 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-09-03 01:53:28 (GMT)
commitee3acff3e3eab8fa36c779ff00c044f6c08cc410 (patch)
treebeae10636d24dee73ee47ae5871dc077abc7f482 /Tools
parenteb55fd8d2f74e5385ef8d4f66c05f314fb6a2bfd (diff)
downloadcpython-ee3acff3e3eab8fa36c779ff00c044f6c08cc410.zip
cpython-ee3acff3e3eab8fa36c779ff00c044f6c08cc410.tar.gz
cpython-ee3acff3e3eab8fa36c779ff00c044f6c08cc410.tar.bz2
update 2to3 script from 2to3 trunk
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/2to35
1 files changed, 2 insertions, 3 deletions
diff --git a/Tools/scripts/2to3 b/Tools/scripts/2to3
index 4fd2cf8..2a447cf 100755
--- a/Tools/scripts/2to3
+++ b/Tools/scripts/2to3
@@ -1,7 +1,6 @@
#!/usr/bin/env python
-from lib2to3 import refactor
+from lib2to3.main import main
import sys
import os
-fixers = os.path.join(os.path.dirname(refactor.__file__), "fixes")
-sys.exit(refactor.main(fixers))
+sys.exit(main("lib2to3.fixes"))