mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Issue #22064: Improve the misleading message from 2to3 when skipping optional fixers.
Patch by Vinod Kurup.
This commit is contained in:
parent
a3780259e4
commit
3a81f9ba46
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue