jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/439525 )
Change subject: [bugfix] Set nochange to False if treat_result is 'done' ......................................................................
[bugfix] Set nochange to False if treat_result is 'done'
Bug: T196675 Change-Id: I78fa4719c43b4ffdd6a06f0e9646a733e6449adc --- M scripts/solve_disambiguation.py 1 file changed, 1 insertion(+), 3 deletions(-)
Approvals: Dvorapa: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/solve_disambiguation.py b/scripts/solve_disambiguation.py index 7c4819e..81b2f05 100755 --- a/scripts/solve_disambiguation.py +++ b/scripts/solve_disambiguation.py @@ -713,9 +713,7 @@ treat_result = self.treat_disamb_only(refPage, page) if treat_result == 'nextpage': return - elif treat_result in ('nochange', 'done'): - continue - elif nochange: + if treat_result == 'done': nochange = False
if nochange:
pywikibot-commits@lists.wikimedia.org