diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2009-12-13 17:00:47 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2009-12-13 17:00:47 -0500 |
commit | c63c0783755a8304a48755c99b2768460751d3cb (patch) | |
tree | 8bb82e8448de999ad5577eb58a97aadd4c447f51 /coverage/config.py | |
parent | 7db6962122caa7d6a6b2ee936730f603c97b3743 (diff) | |
download | python-coveragepy-c63c0783755a8304a48755c99b2768460751d3cb.tar.gz |
Rename the config file option for excluding source lines, in prep for excluding files.
Diffstat (limited to 'coverage/config.py')
-rw-r--r-- | coverage/config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coverage/config.py b/coverage/config.py index 0955347..89fd789 100644 --- a/coverage/config.py +++ b/coverage/config.py @@ -51,9 +51,9 @@ class CoverageConfig(object): self.cover_pylib = cp.getboolean('run', 'cover_pylib') if cp.has_option('run', 'branch'): self.branch = cp.getboolean('run', 'branch') - if cp.has_option('report', 'exclude'): + if cp.has_option('report', 'exclude_lines'): # Exclude is a list of lines, leave out the blank ones. - exclude_list = cp.get('report', 'exclude') + exclude_list = cp.get('report', 'exclude_lines') self.exclude_list = filter(None, exclude_list.split('\n')) if cp.has_option('run', 'data_file'): self.data_file = cp.get('run', 'data_file') |