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:

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/692884
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I6716f9176d7c013335f5e5124c8508a1033d9f25
Gerrit-Change-Number: 692884
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to