summaryrefslogtreecommitdiff
path: root/coverage/control.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-07-12 20:40:38 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-07-12 20:40:38 -0400
commit264683a4afccdb07122086c5bdd4e43078000193 (patch)
tree175fb0d9c81a6b17852a60885628ea63d78c42a1 /coverage/control.py
parentc2f0d6406cf6d18f35f1a0de6025a017d3382974 (diff)
downloadpython-coveragepy-git-264683a4afccdb07122086c5bdd4e43078000193.tar.gz
More simplification of the data api
Diffstat (limited to 'coverage/control.py')
-rw-r--r--coverage/control.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/coverage/control.py b/coverage/control.py
index 412f7aec..84d5d030 100644
--- a/coverage/control.py
+++ b/coverage/control.py
@@ -767,9 +767,9 @@ class Coverage(object):
return dict((abs_file(k), v) for k,v in iitems(d))
# TODO: seems like this parallel structure is getting kinda old...
- self.data.add_line_data(abs_file_dict(self.collector.get_line_data()))
- self.data.add_arc_data(abs_file_dict(self.collector.get_arc_data()))
- self.data.add_plugin_data(abs_file_dict(self.collector.get_plugin_data()))
+ self.data.add_lines(abs_file_dict(self.collector.get_line_data()))
+ self.data.add_arcs(abs_file_dict(self.collector.get_arc_data()))
+ self.data.add_plugins(abs_file_dict(self.collector.get_plugin_data()))
self.collector.reset()
# If there are still entries in the source_pkgs list, then we never