summaryrefslogtreecommitdiff
path: root/coverage/html.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/html.py')
-rw-r--r--coverage/html.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/html.py b/coverage/html.py
index 4aa018e3..596e1143 100644
--- a/coverage/html.py
+++ b/coverage/html.py
@@ -95,7 +95,7 @@ class HtmlDataGeneration(object):
arcs_executed = analysis.arcs_executed()
if self.config.show_contexts:
- contexts_by_lineno = analysis.data.contexts_by_lineno(fr.filename)
+ contexts_by_lineno = analysis.data.contexts_by_lineno(analysis.filename)
lines = []