mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-04 12:16:53 +00:00
Print the line not the output file object
This commit is contained in:
parent
56976671d0
commit
57174a0743
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ class BaseFormatter(object):
|
|||
if self.output_fd is not None:
|
||||
self.output_fd.write(line + self.newline)
|
||||
else:
|
||||
print(self.output_fd)
|
||||
print(line)
|
||||
|
||||
def stop(self):
|
||||
"""Clean up after reporting is finished."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue