Permalink
Browse files

Fixed #3954 -- Disabled termcolors when loading fixtures. Well spotte…

…d, Vijay Sajip.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5102 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 51e867a commit 81a712762f54f95a4db12a53cf75af5ff8440140 @freakboy3742 freakboy3742 committed Apr 27, 2007
Showing with 3 additions and 0 deletions.
  1. +1 −0 AUTHORS
  2. +2 −0 django/core/management.py
View
@@ -190,6 +190,7 @@ answer newbie questions, and generally made Django that much better:
Armin Ronacher
Oliver Rutherfurd <http://rutherfurd.net/>
Ivan Sagalaev (Maniac) <http://www.softwaremaniacs.org/>
+ Vinay Sajip <vinay_sajip@yahoo.co.uk>
David Schein
scott@staplefish.com
serbaut@gmail.com
@@ -1318,6 +1318,8 @@ def load_data(fixture_labels, verbosity=1):
from django.conf import settings
import sys
+ disable_termcolors()
+
# Keep a count of the installed objects and fixtures
count = [0,0]
models = set()

0 comments on commit 81a7127

Please sign in to comment.