summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIan Cordasco <graffatcolmingov@gmail.com>2016-07-29 23:31:41 +0000
committerIan Cordasco <graffatcolmingov@gmail.com>2016-07-29 23:31:41 +0000
commite619fd3b2095a4951ecd1cfceab195e6f501f8ee (patch)
tree3b2d75b5aedc6052e23fdcc1288db8d53b43d8a6 /src
parent971dcc16f081203ec0374c50a75b84d8cc089025 (diff)
parente93aad6043f870d04648e7e0af983248ec60c9ef (diff)
downloadflake8-e619fd3b2095a4951ecd1cfceab195e6f501f8ee.tar.gz
Merge branch 'bug/193' into 'master'
Open our output file in append mode always *Description of changes* *Related to:* #193 See merge request !108
Diffstat (limited to 'src')
-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.