jenkins-bot has submitted this change and it was merged.
Change subject: [FIX] InteractiveReplace: Don't assume dict ......................................................................
[FIX] InteractiveReplace: Don't assume dict
When rebasing 0d42f6fb the type of _own_choices changed from dict into a list (to preserve the order) but some of the underlying code hasn't been modified accordingly.
Change-Id: I8d52adf17392b7ac3a251eacde7a178c9633c247 --- M pywikibot/bot.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: John Vandenberg: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/bot.py b/pywikibot/bot.py index 2410708..722670e 100644 --- a/pywikibot/bot.py +++ b/pywikibot/bot.py @@ -905,7 +905,7 @@ choices = [] for name, choice in self._own_choices: if getattr(self, 'allow_' + name): - choices += [self._own_choices[name]] + choices += [choice] if self.context_delta > 0: choices += [HighlightContextOption( 'more context', 'm', self.current_text, self.context,
pywikibot-commits@lists.wikimedia.org