diff options
| author | Ian Cordasco <graffatcolmingov@gmail.com> | 2016-07-29 23:31:41 +0000 |
|---|---|---|
| committer | Ian Cordasco <graffatcolmingov@gmail.com> | 2016-07-29 23:31:41 +0000 |
| commit | e619fd3b2095a4951ecd1cfceab195e6f501f8ee (patch) | |
| tree | 3b2d75b5aedc6052e23fdcc1288db8d53b43d8a6 /src | |
| parent | 971dcc16f081203ec0374c50a75b84d8cc089025 (diff) | |
| parent | e93aad6043f870d04648e7e0af983248ec60c9ef (diff) | |
| download | flake8-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.py | 2 |
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. |
