jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/692964 )
Change subject: [bugfix] Fix stream_output AttributeError ......................................................................
[bugfix] Fix stream_output AttributeError
Bug: T283195 Change-Id: I66de8c89477b25a3150e654d4493adfac79124c0 --- M pywikibot/userinterfaces/terminal_interface_base.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/userinterfaces/terminal_interface_base.py b/pywikibot/userinterfaces/terminal_interface_base.py index bdd2672..2ce707f 100755 --- a/pywikibot/userinterfaces/terminal_interface_base.py +++ b/pywikibot/userinterfaces/terminal_interface_base.py @@ -442,7 +442,7 @@ line_template = '{{0: >{}}}: {{1}}'.format( len(str(len(answers)))) for i, entry in enumerate(answers, start=1): - pywikibot.stream_output(line_template.format(i, entry)) + self.stream_output(line_template.format(i, entry))
while True: choice = self.input(question, default=default, force=force)
pywikibot-commits@lists.wikimedia.org