diff options
author | stepshal <nessento@openmailbox.org> | 2016-07-12 22:00:43 +0700 |
---|---|---|
committer | stepshal <nessento@openmailbox.org> | 2016-07-13 06:00:42 +0700 |
commit | 6d11e88f938f09ef16db4c6064b6e74acba4db1d (patch) | |
tree | 18b8d914a2c4fc9f9e00d75a5b30330bb0d1942a /setuptools/lib2to3_ex.py | |
parent | e3e21fd3d608d72ebe1ba2e4d2b3a59fbca76554 (diff) | |
download | external_python_setuptools-6d11e88f938f09ef16db4c6064b6e74acba4db1d.tar.gz external_python_setuptools-6d11e88f938f09ef16db4c6064b6e74acba4db1d.tar.bz2 external_python_setuptools-6d11e88f938f09ef16db4c6064b6e74acba4db1d.zip |
Fix quantity of blank lines after code object.
Diffstat (limited to 'setuptools/lib2to3_ex.py')
-rw-r--r-- | setuptools/lib2to3_ex.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/setuptools/lib2to3_ex.py b/setuptools/lib2to3_ex.py index feef591a..f7296786 100644 --- a/setuptools/lib2to3_ex.py +++ b/setuptools/lib2to3_ex.py @@ -12,7 +12,9 @@ from distutils import log from lib2to3.refactor import RefactoringTool, get_fixers_from_package import setuptools + class DistutilsRefactoringTool(RefactoringTool): + def log_error(self, msg, *args, **kw): log.error(msg, *args) @@ -22,7 +24,9 @@ class DistutilsRefactoringTool(RefactoringTool): def log_debug(self, msg, *args): log.debug(msg, *args) + class Mixin2to3(_Mixin2to3): + def run_2to3(self, files, doctests = False): # See of the distribution option has been set, otherwise check the # setuptools default. |