@@ -165,19 +165,19 @@ def main(args=None):
165
165
fixer_names = requested .difference (unwanted_fixes ) # Filter out unwanted fixers
166
166
explicit = explicit .intersection (fixer_names ) # Filter `explicit` fixers vs remaining fixers
167
167
168
- print (" Loading the following fixers:" )
168
+ print (" Loading the following fixers:" , file = sys . stderr )
169
169
if fixer_names :
170
170
for fixname in sorted (fixer_names ):
171
- print (" {} ({})" .format (fixname , fixname .split (".fix_" , 1 )[1 ]))
171
+ print (" {} ({})" .format (fixname , fixname .split (".fix_" , 1 )[1 ]), file = sys . stderr )
172
172
else :
173
- print (" (None)" )
174
- print (" Applying the following explicit transformations:" )
173
+ print (" (None)" , file = sys . stderr )
174
+ print (" Applying the following explicit transformations:" , file = sys . stderr )
175
175
if explicit :
176
176
for fixname in sorted (explicit ):
177
- print (" {} ({})" .format (fixname , fixname .split (".fix_" , 1 )[1 ]))
177
+ print (" {} ({})" .format (fixname , fixname .split (".fix_" , 1 )[1 ]), file = sys . stderr )
178
178
else :
179
- print (" (None)" )
180
- print ()
179
+ print (" (None)" , file = sys . stderr )
180
+ print (file = sys . stderr )
181
181
182
182
# Refactor all files and directories passed as arguments
183
183
rt = StdoutRefactoringTool (sorted (fixer_names ), flags , sorted (explicit ),
0 commit comments