From ee3acff3e3eab8fa36c779ff00c044f6c08cc410 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Wed, 3 Sep 2008 01:53:28 +0000 Subject: update 2to3 script from 2to3 trunk --- Tools/scripts/2to3 | 5 ++--- 1 file 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")) -- cgit v0.12