summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZubin Mithra <zubin.mithra@gmail.com>2010-07-08 15:13:35 +0530
committerZubin Mithra <zubin.mithra@gmail.com>2010-07-08 15:13:35 +0530
commit50c8c540c8fe32b2afeef41582cd4353d0d4e3b7 (patch)
tree4957bf1c4c5857a9499fc55be8d0acbb5cb5fd34 /src
parent58fbdca5abde05d9237f62711f692e74f0edb15b (diff)
downloaddisutils2-50c8c540c8fe32b2afeef41582cd4353d0d4e3b7.tar.gz
small correction in util.py
Diffstat (limited to 'src')
-rw-r--r--src/distutils2/util.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/distutils2/util.py b/src/distutils2/util.py
index 92552fe..cf135ff 100644
--- a/src/distutils2/util.py
+++ b/src/distutils2/util.py
@@ -655,8 +655,8 @@ def run_2to3(files=[], doctests_only=False, fixer_names=[], options=None,
return
# Make this class local, to delay import of 2to3
- from lib2to3.refactor import get_fixers_from_package, RefactoringTool
- #from distutils2.converter.refactor import DistutilsRefactoringTool
+ from lib2to3.refactor import get_fixers_from_package
+ from distutils2.converter.refactor import DistutilsRefactoringTool
fixers = []
@@ -671,7 +671,7 @@ def run_2to3(files=[], doctests_only=False, fixer_names=[], options=None,
for fixer_package in fixer_names:
fixers.extend(get_fixers_from_package(fixer_package))
- r = RefactoringTool(fixers, options=options)
+ r = DistutilsRefactoringTool(fixers, options=options)
if doctests_only:
r.refactor(files, doctests_only=True, write=True)
else: