Revised [12376] with the benefit of coffee. Thanks to Alex Gaynor for paying attention to every commit I make :-)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12377 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
de35bb40af
commit
8e5c116971
|
@ -37,7 +37,7 @@ def color_style():
|
||||||
setattr(style, role, termcolors.make_style(**format))
|
setattr(style, role, termcolors.make_style(**format))
|
||||||
# For backwards compatibility,
|
# For backwards compatibility,
|
||||||
# set style for ERROR_OUTPUT == ERROR
|
# set style for ERROR_OUTPUT == ERROR
|
||||||
setattr(style, 'ERROR_OUTPUT', style.ERROR)
|
style.ERROR_OUTPUT = style.ERROR
|
||||||
else:
|
else:
|
||||||
style = no_style()
|
style = no_style()
|
||||||
return style
|
return style
|
||||||
|
|
Loading…
Reference in New Issue