jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/487531 )
Change subject: [bugfix] Use keyword argument for stop parameter
......................................................................
[bugfix] Use keyword argument for stop parameter
Bug: T215078
Change-Id: Ica373f329a4a2d1ce5cc0538ee656cfdb3d805ae
---
M scripts/solve_disambiguation.py
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Matěj Suchánek: Looks good to me, but someone else must approve
D3r1ck01: Looks good to me, approved
jenkins-bot: Verified
diff --git a/scripts/solve_disambiguation.py b/scripts/solve_disambiguation.py
index c831bb8..cb7ddd4 100755
--- a/scripts/solve_disambiguation.py
+++ b/scripts/solve_disambiguation.py
@@ -570,7 +570,7 @@
def __init__(self, option, shortcut, start, page):
"""Initializer."""
- super(ShowPageOption, self).__init__(option, shortcut, False)
+ super(ShowPageOption, self).__init__(option, shortcut, stop=False)
self._start = start
if page.isRedirectPage():
page = page.getRedirectTarget()
@@ -590,7 +590,7 @@
def __init__(self, option, shortcuts, stop=True):
"""Initializer."""
- super(AliasOption, self).__init__(option, shortcuts[0], stop)
+ super(AliasOption, self).__init__(option, shortcuts[0], stop=stop)
self._aliases = frozenset(s.lower() for s in shortcuts[1:])
def test(self, value):
--
To view, visit
https://gerrit.wikimedia.org/r/487531
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ica373f329a4a2d1ce5cc0538ee656cfdb3d805ae
Gerrit-Change-Number: 487531
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: D3r1ck01 <alangiderick(a)gmail.com>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Matěj Suchánek <matejsuchanek97(a)gmail.com>
Gerrit-Reviewer: jenkins-bot (75)