From: Berker Peksag Date: Wed, 13 May 2015 10:39:51 +0000 (+0300) Subject: Issue #22064: Improve the misleading message from 2to3 when skipping optional fixers. X-Git-Tag: v3.5.0b1~158^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3a81f9ba46005e6876310283a67379d50304ebca;p=thirdparty%2FPython%2Fcpython.git Issue #22064: Improve the misleading message from 2to3 when skipping optional fixers. Patch by Vinod Kurup. --- diff --git a/Lib/lib2to3/refactor.py b/Lib/lib2to3/refactor.py index c24be14867f0..adf999684bea 100644 --- a/Lib/lib2to3/refactor.py +++ b/Lib/lib2to3/refactor.py @@ -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)