jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1337405?usp=email )

Change subject: weblinkchecker: Remove unused URL exception
......................................................................

weblinkchecker: Remove unused URL exception

NotAnURLError has been unused since the deprecated LinkChecker class
was removed in 2020. Remove the leftover exception.

Change-Id: I47f8677ada5c870fc2f3a20e95f3776c36459b70
---
M scripts/weblinkchecker.py
1 file changed, 0 insertions(+), 5 deletions(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified




diff --git a/scripts/weblinkchecker.py b/scripts/weblinkchecker.py
index 1769337..11a3967 100755
--- a/scripts/weblinkchecker.py
+++ b/scripts/weblinkchecker.py
@@ -228,11 +228,6 @@
     _XMLDumpPageGenerator, text_predicate=weblinks_from_text)


-class NotAnURLError(BaseException):
-
-    """The link is not an URL."""
-
-
 class LinkCheckThread(threading.Thread):

     """A thread responsible for checking one URL.

--
To view, visit 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1337405?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I47f8677ada5c870fc2f3a20e95f3776c36459b70
Gerrit-Change-Number: 1337405
Gerrit-PatchSet: 2
Gerrit-Owner: Mahveotm <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to