Issue #22064: Improve the misleading message from 2to3 when skipping optional fixers.
Patch by Vinod Kurup.
This commit is contained in:
parent
77b3ae5e2c
commit
73e4f5f6bb
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue