summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2010-02-03 00:34:49 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2010-02-03 00:34:49 +0000
commit8e5c116971f519a4de2cf0a2f178bf990301e38b (patch)
treec0da41b08edf90d214567f99c339f68fbd1aa3f8
parentde35bb40af6174bc5d3cb1b12584cbdb11919ca7 (diff)
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
-rw-r--r--django/core/management/color.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/core/management/color.py b/django/core/management/color.py
index 612afff4e2..8c7a87fe71 100644
--- a/django/core/management/color.py
+++ b/django/core/management/color.py
@@ -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