summaryrefslogtreecommitdiff
path: root/coverage/summary.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2010-05-23 16:09:44 -0400
committerNed Batchelder <ned@nedbatchelder.com>2010-05-23 16:09:44 -0400
commitcd1b610a9645b0a3a53ce1c2779236c40e5d2164 (patch)
tree2a27b44eb82048020b5f83b487001d2d67e13bb6 /coverage/summary.py
parent88eef7d43f1056d8ff65ca260fa7f28e49f4bfc1 (diff)
downloadpython-coveragepy-cd1b610a9645b0a3a53ce1c2779236c40e5d2164.tar.gz
Omit and include are now filename patterns rather than prefixes. BACKWARD INCOMPATIBLE change.
Diffstat (limited to 'coverage/summary.py')
-rw-r--r--coverage/summary.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/coverage/summary.py b/coverage/summary.py
index 89b3102..37039ba 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])