[Python-checkins] distutils2: DistutilsRefactoringTool removed from distutils2.converter

tarek.ziade python-checkins at python.org
Thu Aug 19 08:34:14 CEST 2010


tarek.ziade pushed db00fe6f2634 to distutils2:

http://hg.python.org/distutils2/rev/db00fe6f2634
changeset:   573:db00fe6f2634
user:        Zubin Mithra <zubin.mithra at gmail.com>
date:        Fri Aug 13 18:24:11 2010 +0530
summary:     DistutilsRefactoringTool removed from distutils2.converter
files:       src/distutils2/converter/refactor.py

diff --git a/src/distutils2/converter/refactor.py b/src/distutils2/converter/refactor.py
--- a/src/distutils2/converter/refactor.py
+++ b/src/distutils2/converter/refactor.py
@@ -11,18 +11,4 @@
     _LIB2TO3 = False
 
 _DISTUTILS_FIXERS = ['distutils2.converter.fixers.fix_imports',
-                     'distutils2.converter.fixers.fix_setup_options']
-
-if _LIB2TO3:
-    class DistutilsRefactoringTool(RefactoringTool):
-
-        def __init__(self, fixer_names=_DISTUTILS_FIXERS, options=None,
-                    explicit=None):
-
-            super(DistutilsRefactoringTool, self).__init__(fixer_names, options,
-                                                            explicit)
-else:
-    class DistutilsRefactoringTool(object):
-        def __init__(self, *args, **kw):
-            raise NotImplementedError('Not available if run from Python < 2.6')
-
+                     'distutils2.converter.fixers.fix_setup_options']
\ No newline at end of file

--
Repository URL: http://hg.python.org/distutils2


More information about the Python-checkins mailing list