jenkins-bot merged this change.

View Change

Approvals: Matěj Suchánek: Looks good to me, but someone else must approve D3r1ck01: Looks good to me, approved jenkins-bot: Verified
[bugfix] Use keyword argument for stop parameter

Bug: T215078
Change-Id: Ica373f329a4a2d1ce5cc0538ee656cfdb3d805ae
---
M scripts/solve_disambiguation.py
1 file changed, 2 insertions(+), 2 deletions(-)

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 change 487531. To unsubscribe, or for help writing mail filters, visit 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@gno.de>
Gerrit-Reviewer: D3r1ck01 <alangiderick@gmail.com>
Gerrit-Reviewer: John Vandenberg <jayvdb@gmail.com>
Gerrit-Reviewer: Matěj Suchánek <matejsuchanek97@gmail.com>
Gerrit-Reviewer: jenkins-bot (75)