]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #22064: Improve the misleading message from 2to3 when skipping optional fixers.
authorBerker Peksag <berker.peksag@gmail.com>
Wed, 13 May 2015 10:39:51 +0000 (13:39 +0300)
committerBerker Peksag <berker.peksag@gmail.com>
Wed, 13 May 2015 10:39:51 +0000 (13:39 +0300)
Patch by Vinod Kurup.

Lib/lib2to3/refactor.py

index c24be14867f09566be69469d6c523a9bd2c79793..adf999684beaeacce53e09d881c3d6dce770e9cd 100644 (file)
@@ -255,7 +255,7 @@ class RefactoringTool(object):
             fixer = fix_class(self.options, self.fixer_log)
             if fixer.explicit and self.explicit is not True and \
                     fix_mod_path not in self.explicit:
-                self.log_message("Skipping implicit fixer: %s", fix_name)
+                self.log_message("Skipping optional fixer: %s", fix_name)
                 continue
 
             self.log_debug("Adding transformation: %s", fix_name)