Skip to content

Commit a8224b1

Browse files
author
benjamin.peterson
committed
update 2to3 script from 2to3 trunk
git-svn-id: http://svn.python.org/projects/python/trunk@66175 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 4219317 commit a8224b1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Tools/scripts/2to3

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/usr/bin/env python
2-
from lib2to3 import refactor
2+
from lib2to3.main import main
33
import sys
44
import os
55

6-
fixers = os.path.join(os.path.dirname(refactor.__file__), "fixes")
7-
sys.exit(refactor.main(fixers))
6+
sys.exit(main("lib2to3.fixes"))

0 commit comments

Comments
 (0)