summaryrefslogtreecommitdiff
path: root/src/flake8/formatting
diff options
context:
space:
mode:
Diffstat (limited to 'src/flake8/formatting')
-rw-r--r--src/flake8/formatting/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flake8/formatting/base.py b/src/flake8/formatting/base.py
index 336bf50..97c60e1 100644
--- a/src/flake8/formatting/base.py
+++ b/src/flake8/formatting/base.py
@@ -50,7 +50,7 @@ class BaseFormatter(object):
This defaults to initializing :attr:`output_fd` if :attr:`filename`
"""
if self.filename:
- self.output_fd = open(self.filename, 'w')
+ self.output_fd = open(self.filename, 'a')
def handle(self, error):
"""Handle an error reported by Flake8.