jenkins-bot submitted this change.
[bugfix] Fix stream_output AttributeError
Bug: T283195
Change-Id: I66de8c89477b25a3150e654d4493adfac79124c0
---
M pywikibot/userinterfaces/terminal_interface_base.py
1 file changed, 1 insertion(+), 1 deletion(-)
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)
To view, visit change 692964. To unsubscribe, or for help writing mail filters, visit settings.