Xqt has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/291582

Change subject: [cleanup] code cleanup for interwikidata_tests.py
......................................................................

[cleanup] code cleanup for interwikidata_tests.py

- when super() is the only call of a inherited method it can be omitted.

Change-Id: I530def17e44d6ba2d781a55c1f581b09a09f58ef
---
M tests/interwikidata_tests.py
1 file changed, 0 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/82/291582/1

diff --git a/tests/interwikidata_tests.py b/tests/interwikidata_tests.py
index b65134b..df30ded 100644
--- a/tests/interwikidata_tests.py
+++ b/tests/interwikidata_tests.py
@@ -22,10 +22,6 @@
 
     """A dummy bot to prevent editing in production wikis."""
 
-    def __init__(self, *args, **kwargs):
-        """Initiate the class."""
-        super(DummyBot, self).__init__(*args, **kwargs)
-
     def put_current(self):
         """Prevent editing."""
         return False

-- 
To view, visit https://gerrit.wikimedia.org/r/291582
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I530def17e44d6ba2d781a55c1f581b09a09f58ef
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Xqt <i...@gno.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to