diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-09-03 01:53:28 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-09-03 01:53:28 (GMT) |
commit | ee3acff3e3eab8fa36c779ff00c044f6c08cc410 (patch) | |
tree | beae10636d24dee73ee47ae5871dc077abc7f482 /Tools | |
parent | eb55fd8d2f74e5385ef8d4f66c05f314fb6a2bfd (diff) | |
download | cpython-ee3acff3e3eab8fa36c779ff00c044f6c08cc410.zip cpython-ee3acff3e3eab8fa36c779ff00c044f6c08cc410.tar.gz cpython-ee3acff3e3eab8fa36c779ff00c044f6c08cc410.tar.bz2 |
update 2to3 script from 2to3 trunk
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/scripts/2to3 | 5 |
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")) |