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