Fix calling upper() method on undefined variable
While refactoring the colorized logging change, a renamed variable was
missed. This patch corrects that issue. Trivial fix.
@@ -589,7 +589,7 @@ class Command(object):
color_name = self.config['COLOR'].get(level.upper())
if color_name:
- color = getattr(colorama.Fore, color.upper(), '')
+ color = getattr(colorama.Fore, color_name.upper(), '')
if color:
reset = colorama.Fore.RESET
