[Python-checkins] cpython (2.7): Issue #22064: Improve the misleading message from 2to3 when skipping optional

berker.peksag python-checkins at python.org
Wed May 13 12:42:11 CEST 2015


https://hg.python.org/cpython/rev/f6e297e698ff
changeset:   96022:f6e297e698ff
branch:      2.7
parent:      96019:cd0706499812
user:        Berker Peksag <berker.peksag at gmail.com>
date:        Wed May 13 13:42:26 2015 +0300
summary:
  Issue #22064: Improve the misleading message from 2to3 when skipping optional fixers.

Patch by Vinod Kurup.

files:
  Lib/lib2to3/refactor.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/lib2to3/refactor.py b/Lib/lib2to3/refactor.py
--- a/Lib/lib2to3/refactor.py
+++ b/Lib/lib2to3/refactor.py
@@ -255,7 +255,7 @@
             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)

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list