diff options
author | Ionel Cristian Maries <contact@ionelmc.ro> | 2015-06-28 21:42:44 +0300 |
---|---|---|
committer | Ionel Cristian Maries <contact@ionelmc.ro> | 2015-06-28 21:42:44 +0300 |
commit | 70b2f571185e69c0964bc7672affc91f83a7a975 (patch) | |
tree | 65c6212c5a14887acea2a8f7fe7681f15c0a616d /coverage/summary.py | |
parent | dc4127aa3011cd363a68040bb04770f456fa8fba (diff) | |
download | python-coveragepy-git-70b2f571185e69c0964bc7672affc91f83a7a975.tar.gz |
Make the summary return 0 instead.
Diffstat (limited to 'coverage/summary.py')
-rw-r--r-- | coverage/summary.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/summary.py b/coverage/summary.py index 5b8c903f..aed83350 100644 --- a/coverage/summary.py +++ b/coverage/summary.py @@ -99,4 +99,4 @@ class SummaryReporter(Reporter): args += ("",) outfile.write(fmt_coverage % args) - return total.pc_covered + return total.n_statements and total.pc_covered |