summaryrefslogtreecommitdiff
path: root/coverage/html.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/html.py')
-rw-r--r--coverage/html.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/coverage/html.py b/coverage/html.py
index e1966bf..d168e35 100644
--- a/coverage/html.py
+++ b/coverage/html.py
@@ -176,7 +176,8 @@ class HtmlReporter(Reporter):
# Get the numbers for this file.
nums = analysis.numbers
- missing_branch_arcs = analysis.missing_branch_arcs()
+ if self.arcs:
+ missing_branch_arcs = analysis.missing_branch_arcs()
# These classes determine which lines are highlighted by default.
c_run = "run hide_run"