Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
a8a9092b
Commit
a8a9092b
authored
May 13, 2015
by
Berker Peksag
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #22064: Improve the misleading message from 2to3 when skipping optional fixers.
Patch by Vinod Kurup.
parent
1992552f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Lib/lib2to3/refactor.py
Lib/lib2to3/refactor.py
+1
-1
No files found.
Lib/lib2to3/refactor.py
View file @
a8a9092b
...
@@ -255,7 +255,7 @@ class RefactoringTool(object):
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment