From 81a712762f54f95a4db12a53cf75af5ff8440140 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Fri, 27 Apr 2007 10:55:47 +0000 Subject: [PATCH] Fixed #3954 -- Disabled termcolors when loading fixtures. Well spotted, Vijay Sajip. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5102 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- AUTHORS | 1 + django/core/management.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/AUTHORS b/AUTHORS index 1c33bb9a7b5..52811b94452 100644 --- a/AUTHORS +++ b/AUTHORS @@ -190,6 +190,7 @@ answer newbie questions, and generally made Django that much better: Armin Ronacher Oliver Rutherfurd Ivan Sagalaev (Maniac) + Vinay Sajip David Schein scott@staplefish.com serbaut@gmail.com diff --git a/django/core/management.py b/django/core/management.py index 0f8de891a16..d2f0d1e8379 100644 --- a/django/core/management.py +++ b/django/core/management.py @@ -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()