From 039345d5c311d5d55ee6c93554959fd5685a862c Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 23 May 2010 16:09:44 -0400 Subject: Omit and include are now filename patterns rather than prefixes. BACKWARD INCOMPATIBLE change. --- coverage/summary.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'coverage/summary.py') diff --git a/coverage/summary.py b/coverage/summary.py index 89b31020..37039bab 100644 --- a/coverage/summary.py +++ b/coverage/summary.py @@ -14,15 +14,13 @@ class SummaryReporter(Reporter): self.show_missing = show_missing self.branches = coverage.data.has_arcs() - def report(self, morfs, omit_prefixes=None, outfile=None, - include_prefixes=None - ): + def report(self, morfs, omit=None, outfile=None, include=None): """Writes a report summarizing coverage statistics per module. See `coverage.report()` for other arguments. """ - self.find_code_units(morfs, omit_prefixes, include_prefixes) + self.find_code_units(morfs, omit, include) # Prepare the formatting strings max_name = max([len(cu.name) for cu in self.code_units] + [5]) -- cgit v1.2.1