jenkins-bot has submitted this change and it was merged.
Change subject: UnknownExtension: subclass of NotImplementedError ......................................................................
UnknownExtension: subclass of NotImplementedError
Introduced in f49ea26af91a72e5143a55cfe28be07c2888edb6 as subclass of SiteDefinitionError.
Change-Id: I0ec77160c3f3f583369b90e0319022905a5ad506 --- M pywikibot/exceptions.py 1 file changed, 3 insertions(+), 2 deletions(-)
Approvals: John Vandenberg: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/exceptions.py b/pywikibot/exceptions.py index 7684d9f..848ef05 100644 --- a/pywikibot/exceptions.py +++ b/pywikibot/exceptions.py @@ -13,6 +13,7 @@ - Server504Error: Server timed out with HTTP 504 code - PageNotFound: Page not found (deprecated) - i18n.TranslationError: i18n/l10n message not available + - UnknownExtension: Extension is not defined for this site
SiteDefinitionError: Site loading problem - UnknownSite: Site does not exist in Family @@ -235,9 +236,9 @@ pass
-class UnknownExtension(SiteDefinitionError): # noqa +class UnknownExtension(Error, NotImplementedError):
- """Extension is not defined for this site.""" + """Extension is not defined."""
pass
pywikibot-commits@lists.wikimedia.org