diff options
Diffstat (limited to 'Tools/scripts/2to3')
-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")) |