summaryrefslogtreecommitdiff
path: root/coverage/control.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/control.py')
-rw-r--r--coverage/control.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/control.py b/coverage/control.py
index 8f54a641..aa1727fe 100644
--- a/coverage/control.py
+++ b/coverage/control.py
@@ -215,7 +215,7 @@ class coverage:
def _harvest_data(self):
"""Get the collected data by filename and reset the collector."""
- self.data.add_line_data(self.collector.data_points())
+ self.data.add_line_data(self.collector.get_data('line'))
self.collector.reset()
# Backward compatibility with version 1.