diff options
Diffstat (limited to 'Tools/scripts/2to3')
-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 7578d9d7f0..4fd2cf8195 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)) |