summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2012-12-02 09:28:19 -0500
committerNed Batchelder <ned@nedbatchelder.com>2012-12-02 09:28:19 -0500
commit8331c5bac292dc3be66d0ab091897642f50507c8 (patch)
treeb4a4a7efa4a37c8cbd49255b14adc9a4b06ce879
parent61271fda9ee602f2cce279646aa1b9b573412ed6 (diff)
downloadpython-coveragepy-git-8331c5bac292dc3be66d0ab091897642f50507c8.tar.gz
Load the existing data before combining, so it's idempotent.
-rw-r--r--igor.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/igor.py b/igor.py
index cc1e3369..fd615459 100644
--- a/igor.py
+++ b/igor.py
@@ -108,6 +108,7 @@ def do_combine_html():
import coverage
os.environ['COVERAGE_HOME'] = os.getcwd()
cov = coverage.coverage(config_file="metacov.ini")
+ cov.load()
cov.combine()
cov.save()
cov.html_report()