Issue #22064: Improve the misleading message from 2to3 when skipping optional fixers.

Patch by Vinod Kurup.
This commit is contained in:
Berker Peksag 2015-05-13 13:42:26 +03:00
parent 77b3ae5e2c
commit 73e4f5f6bb
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ class RefactoringTool(object):
fixer = fix_class(self.options, self.fixer_log) fixer = fix_class(self.options, self.fixer_log)
if fixer.explicit and self.explicit is not True and \ if fixer.explicit and self.explicit is not True and \
fix_mod_path not in self.explicit: 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 continue
self.log_debug("Adding transformation: %s", fix_name) self.log_debug("Adding transformation: %s", fix_name)