Skip to content

Commit 20f93bf

Browse files
Carreaudrammock
andauthored
Update tools/divergent_links.py
Co-authored-by: Daniel McCloy <[email protected]>
1 parent 1278dfe commit 20f93bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/divergent_links.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ def duplicates(self):
9090
uniq_url = {u for u, _ in url_pages}
9191
if len(uniq_url) >= 2:
9292
print(
93-
f"{len(url_pages)} time {content!r} has {len(uniq_url)} on divergent url on :"
93+
f'The link text "{content!r}" appears {len(url_pages)} times, '
94+
f'and links to {len(uniq_url)} different URLs, on the following pages:'
9495
)
9596
dct = defaultdict(list)
9697
for u, p in url_pages:

0 commit comments

Comments
 (0)