diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-08-19 16:41:34 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-08-19 16:41:34 (GMT) |
commit | d068ad58791b0f3e51d2723a94e166fe655d9d65 (patch) | |
tree | f6534329eaaf8e9092942854f4cd10c5d0af1ee1 /Tools | |
parent | 25c3408556df0648753d3fe627d040917222b164 (diff) | |
download | cpython-d068ad58791b0f3e51d2723a94e166fe655d9d65.zip cpython-d068ad58791b0f3e51d2723a94e166fe655d9d65.tar.gz cpython-d068ad58791b0f3e51d2723a94e166fe655d9d65.tar.bz2 |
Merged revisions 65853-65854 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r65853 | benjamin.peterson | 2008-08-19 11:09:09 -0500 (Tue, 19 Aug 2008) | 1 line
apply a patch for #3131. this solves the problem for the moment, but we should do some refactoring to get display logic out of RefactoringTool
........
r65854 | benjamin.peterson | 2008-08-19 11:37:38 -0500 (Tue, 19 Aug 2008) | 1 line
another quick fix to get lib2to3 to work
........
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/scripts/2to3 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Tools/scripts/2to3 b/Tools/scripts/2to3 index 7578d9d..4fd2cf8 100755 --- a/Tools/scripts/2to3 +++ b/Tools/scripts/2to3 @@ -1,5 +1,7 @@ #!/usr/bin/env python from lib2to3 import refactor import sys +import os -sys.exit(refactor.main("lib2to3/fixes")) +fixers = os.path.join(os.path.dirname(refactor.__file__), "fixes") +sys.exit(refactor.main(fixers)) |