Xqt has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1061144?usp=email )

Change subject: [bugfix] initialize super classes of EditReplacementError
......................................................................

[bugfix] initialize super classes of EditReplacementError

initialize super classes of EditReplacementError with "stop" keyword
to set stop attribute accordingly-

Bug: T212740
Change-Id: I616c2f682f70173eef800acf7548f55131aaa390
---
M pywikibot/specialbots/_unlink.py
1 file changed, 1 insertion(+), 2 deletions(-)

Approvals:
  Xqt: Verified; Looks good to me, approved




diff --git a/pywikibot/specialbots/_unlink.py b/pywikibot/specialbots/_unlink.py
index 17d2910..6526f49 100644
--- a/pywikibot/specialbots/_unlink.py
+++ b/pywikibot/specialbots/_unlink.py
@@ -26,8 +26,7 @@

     def __init__(self) -> None:
         """Initializer."""
-        super().__init__('edit', 'e')
-        self.stop = True
+        super().__init__('edit', 'e', stop=True)


 class InteractiveUnlink(InteractiveReplace):

--
To view, visit 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1061144?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: I616c2f682f70173eef800acf7548f55131aaa390
Gerrit-Change-Number: 1061144
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <i...@gno.de>
Gerrit-Reviewer: Xqt <i...@gno.de>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- pywikibot-commits@lists.wikimedia.org
To unsubscribe send an email to pywikibot-commits-le...@lists.wikimedia.org

Reply via email to