jenkins-bot submitted this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
[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(-)

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 change 692884. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I6716f9176d7c013335f5e5124c8508a1033d9f25
Gerrit-Change-Number: 692884
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged