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 == ' ':
pywikibot-commits@lists.wikimedia.org