Skip to content

Commit

Permalink
Add else clause
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner committed Jul 30, 2024
1 parent 0ee85eb commit 7ad73fb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Doc/tools/extensions/audit_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,10 +239,11 @@ def _make_row(
target = (
f"{builder.get_relative_uri(docname, doc)}#{label}"
)
ref["refuri"] = target
except NoUri:
continue
backlinks_node += ref
else:
ref["refuri"] = target
backlinks_node += ref
row += nodes.entry("", backlinks_node)
return row

Expand Down

0 comments on commit 7ad73fb

Please sign in to comment.