]> 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:42:26 +0000 (13:42 +0300)
committerBerker Peksag <berker.peksag@gmail.com>
Wed, 13 May 2015 10:42:26 +0000 (13:42 +0300)
Patch by Vinod Kurup.

Lib/lib2to3/refactor.py

index a4c168df9e0dd435a9e2cc9980ed219aa00f3a2a..bd238978b4e5f3fd419228106be9a2c33408b44f 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)