jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/692884 )
Change subject: [IMPR] show a {black;yellow} bar on simulation ......................................................................
[IMPR] show a {black;yellow} bar on simulation
Use a yellow bar. Otherwise the message would interfer the transliteration text (lightyellow on black)
Change-Id: I6716f9176d7c013335f5e5124c8508a1033d9f25 --- M pywikibot/data/api.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/data/api.py b/pywikibot/data/api.py index 733ef13..ab699fb 100644 --- a/pywikibot/data/api.py +++ b/pywikibot/data/api.py @@ -1330,7 +1330,7 @@ if action and config.simulate and ( self.write or action in config.actions_to_block): pywikibot.output(color_format( - '{lightyellow}SIMULATION: {0} action blocked.{default}', + '{black;yellow}SIMULATION: {} action blocked.{default}', action)) # for more realistic simulation if config.simulate is not True:
pywikibot-commits@lists.wikimedia.org