From c63c0783755a8304a48755c99b2768460751d3cb Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 13 Dec 2009 17:00:47 -0500 Subject: Rename the config file option for excluding source lines, in prep for excluding files. --- coverage/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'coverage/config.py') 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') -- cgit v1.2.1