Skip to content

Commit

Permalink
Update tools/divergent_links.py
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel McCloy <[email protected]>
  • Loading branch information
Carreau and drammock authored Oct 4, 2024
1 parent 1278dfe commit 20f93bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/divergent_links.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ def duplicates(self):
uniq_url = {u for u, _ in url_pages}
if len(uniq_url) >= 2:
print(
f"{len(url_pages)} time {content!r} has {len(uniq_url)} on divergent url on :"
f'The link text "{content!r}" appears {len(url_pages)} times, '
f'and links to {len(uniq_url)} different URLs, on the following pages:'
)
dct = defaultdict(list)
for u, p in url_pages:
Expand Down

0 comments on commit 20f93bf

Please sign in to comment.