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:
Russell Keith-Magee 2010-02-03 00:34:49 +00:00
parent de35bb40af
commit 8e5c116971
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ def color_style():
setattr(style, role, termcolors.make_style(**format))
# For backwards compatibility,
# set style for ERROR_OUTPUT == ERROR
setattr(style, 'ERROR_OUTPUT', style.ERROR)
style.ERROR_OUTPUT = style.ERROR
else:
style = no_style()
return style