diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2009-12-13 17:20:15 -0500 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2009-12-13 17:20:15 -0500 |
| commit | ae8b4485ed5633cf52089aa705f185153023d6c7 (patch) | |
| tree | cb77771f0ed37116912a6d8a25b7873ba0949948 /coverage/config.py | |
| parent | c63c0783755a8304a48755c99b2768460751d3cb (diff) | |
| download | python-coveragepy-ae8b4485ed5633cf52089aa705f185153023d6c7.tar.gz | |
Keep it working on 3.x also.
Diffstat (limited to 'coverage/config.py')
| -rw-r--r-- | coverage/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/config.py b/coverage/config.py index 89fd789..0febb36 100644 --- a/coverage/config.py +++ b/coverage/config.py @@ -54,6 +54,6 @@ class CoverageConfig(object): if cp.has_option('report', 'exclude_lines'): # Exclude is a list of lines, leave out the blank ones. exclude_list = cp.get('report', 'exclude_lines') - self.exclude_list = filter(None, exclude_list.split('\n')) + self.exclude_list = list(filter(None, exclude_list.split('\n'))) if cp.has_option('run', 'data_file'): self.data_file = cp.get('run', 'data_file') |
