summaryrefslogtreecommitdiffstats
path: root/Tools/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-xTools/scripts/2to34
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))