Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit 8e5c116971f519a4de2cf0a2f178bf990301e38b 1 parent de35bb4
Russell Keith-Magee authored February 03, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/core/management/color.py
2  django/core/management/color.py
@@ -37,7 +37,7 @@ class dummy: pass
37 37
                 setattr(style, role, termcolors.make_style(**format))
38 38
             # For backwards compatibility,
39 39
             # set style for ERROR_OUTPUT == ERROR
40  
-            setattr(style, 'ERROR_OUTPUT', style.ERROR)
  40
+            style.ERROR_OUTPUT = style.ERROR
41 41
         else:
42 42
             style = no_style()
43 43
     return style

0 notes on commit 8e5c116

Please sign in to comment.
Something went wrong with that request. Please try again.