jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/610258 )

Change subject: [cleanup] remove unused NotImplementedClass
......................................................................

[cleanup] remove unused NotImplementedClass

NotImplementedClass was introduced for Python 2.6 backport
and can be removed.

Change-Id: Id89a17a9831f32848b4d2b05461449ea92388c21
---
M pywikibot/tools/__init__.py
1 file changed, 0 insertions(+), 10 deletions(-)

Approvals:
  Matěj Suchánek: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/pywikibot/tools/__init__.py b/pywikibot/tools/__init__.py
index de90aec..96b5a8e 100644
--- a/pywikibot/tools/__init__.py
+++ b/pywikibot/tools/__init__.py
@@ -364,16 +364,6 @@
     pass


-class NotImplementedClass(object):
-
-    """No implementation is available."""
-
-    def __init__(self, *args, **kwargs):
-        """Initializer."""
-        raise NotImplementedError(
-            '%s: %s' % (self.__class__.__name__, self.__doc__))
-
-
 def is_IP(IP):  # noqa N802, N803
     """Verify the IP address provided is valid.


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

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Id89a17a9831f32848b4d2b05461449ea92388c21
Gerrit-Change-Number: 610258
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Matěj Suchánek <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to