jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/462911 )

Change subject: [cleanup] cleanup scripts/maintenance/colors.py
......................................................................

[cleanup] cleanup scripts/maintenance/colors.py

- use str.format(...) instead of modulo to substitude type
  specifier arguments with placeholders

Change-Id: I7efe02b0e263229f2514d379a4698485e1c2f1eb
---
M scripts/maintenance/colors.py
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Xqt: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/scripts/maintenance/colors.py b/scripts/maintenance/colors.py
index 7c5c558..28c3086 100644
--- a/scripts/maintenance/colors.py
+++ b/scripts/maintenance/colors.py
@@ -37,7 +37,7 @@
                 line += ' '
                 line += color_format('{color}{0}{default}',
                                      fg_col.ljust(max_len_fg_colors),
-                                     color='%s;%s' % (fg_col, bg_col))
+                                     color='{};{}'.format(fg_col, bg_col))

             line = '{0} {1}'.format(bg_col.ljust(max_len_bc_color), line)
             pywikibot.output(line)

--
To view, visit https://gerrit.wikimedia.org/r/462911
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I7efe02b0e263229f2514d379a4698485e1c2f1eb
Gerrit-Change-Number: 462911
Gerrit-PatchSet: 1
Gerrit-Owner: D3r1ck01 <[email protected]>
Gerrit-Reviewer: D3r1ck01 <[email protected]>
Gerrit-Reviewer: John Vandenberg <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot (75)
_______________________________________________
Pywikibot-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits

Reply via email to