Author: russellm
Date: 2010-02-02 18:34:49 -0600 (Tue, 02 Feb 2010)
New Revision: 12377

Modified:
   django/trunk/django/core/management/color.py
Log:
Revised [12376] with the benefit of coffee. Thanks to Alex Gaynor for paying 
attention to every commit I make :-)

Modified: django/trunk/django/core/management/color.py
===================================================================
--- django/trunk/django/core/management/color.py        2010-02-03 00:24:05 UTC 
(rev 12376)
+++ django/trunk/django/core/management/color.py        2010-02-03 00:34:49 UTC 
(rev 12377)
@@ -37,7 +37,7 @@
                 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

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to