From 5c4b17685e9dfd7ee214e844c79bbbe846486a85 Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Mon, 10 Jun 2013 15:45:22 -0700 Subject: [PATCH] parameter name change --- beets/ui/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beets/ui/__init__.py b/beets/ui/__init__.py index 460320a34..f7288141f 100644 --- a/beets/ui/__init__.py +++ b/beets/ui/__init__.py @@ -366,7 +366,7 @@ def colorize(color, text): else: return text -def _colordiff(a, b, highlight='red', second_highlight='lightgray'): +def _colordiff(a, b, highlight='red', minor_highlight='lightgray'): """Given two values, return the same pair of strings except with their differences highlighted in the specified color. Strings are highlighted intelligently to show differences; other values are @@ -407,7 +407,7 @@ def _colordiff(a, b, highlight='red', second_highlight='lightgray'): if a[a_start:a_end].lower() != b[b_start:b_end].lower(): color = highlight else: - color = second_highlight + color = minor_highlight a_out.append(colorize(color, a[a_start:a_end])) b_out.append(colorize(color, b[b_start:b_end])) else: