Merge pull request #8323 from TheTripleV/patch-1

Linkcheck: Fix broken url not reporting error
This commit is contained in:
Takeshi KOMIYA 2020-10-25 18:48:07 +09:00 committed by GitHub
commit 2118ff1419
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -226,6 +226,7 @@ class CheckExternalLinksBuilder(Builder):
if rex.match(uri):
return 'ignored', '', 0
else:
self.broken[uri] = ''
return 'broken', '', 0
elif uri in self.good:
return 'working', 'old', 0