jenkins-bot has submitted this change and it was merged.
Change subject: Fix Hunk.color_line
......................................................................
Fix Hunk.color_line
9146f171 introduced a new approach to specifying color, which
was used by Hunk.color_line.
However it was not correctly used in all instances of that method.
Bug: T118371
Change-Id: I7dc19023ec0ae8795d243cc24561f95a33758cdd
---
M pywikibot/diff.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Ladsgroup: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/diff.py b/pywikibot/diff.py
index 299c65a..f83033f 100644
--- a/pywikibot/diff.py
+++ b/pywikibot/diff.py
@@ -161,7 +161,7 @@
if color_closed:
if char_ref != ' ':
char_tagged = color_format('{color}{0}',
- char, self.colors[color])
+ char, color=self.colors[color])
color_closed = False
else:
if char_ref == ' ':
--
To view, visit https://gerrit.wikimedia.org/r/252616
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I7dc19023ec0ae8795d243cc24561f95a33758cdd
Gerrit-PatchSet: 2
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <[email protected]>
Gerrit-Reviewer: Ladsgroup <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits