From 57174a0743b55c543556984105440685c4a69287 Mon Sep 17 00:00:00 2001 From: Ian Cordasco Date: Sun, 7 Feb 2016 09:39:58 -0600 Subject: [PATCH] Print the line not the output file object --- flake8/formatting/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake8/formatting/base.py b/flake8/formatting/base.py index 85a931c..e419470 100644 --- a/flake8/formatting/base.py +++ b/flake8/formatting/base.py @@ -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."""