From 673bdfc8a1e9c77f0a95552a80dea252069eddec Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Thu, 15 Oct 2009 06:38:10 -0400 Subject: Refactor the analysis results so we aren't passing so many tuples around. --- coverage/report.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'coverage/report.py') diff --git a/coverage/report.py b/coverage/report.py index 0ae4ce6..8b069d7 100644 --- a/coverage/report.py +++ b/coverage/report.py @@ -50,8 +50,7 @@ class Reporter(object): for cu in self.code_units: try: - statements, excluded, missing, _ = self.coverage._analyze(cu) - report_fn(cu, statements, excluded, missing) + report_fn(cu, self.coverage._analyze(cu)) except KeyboardInterrupt: raise except: -- cgit v1.2.1