From 679627660fef3c7a9f7be743a168930e4a0e58ae Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Fri, 9 Aug 2013 17:34:35 +0100 Subject: [PATCH] Remove useless override of self.style --- django/core/management/commands/migrate.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/django/core/management/commands/migrate.py b/django/core/management/commands/migrate.py index 699b22edaa..085b6b2cc7 100644 --- a/django/core/management/commands/migrate.py +++ b/django/core/management/commands/migrate.py @@ -6,7 +6,7 @@ import traceback from django.conf import settings from django.core.management import call_command from django.core.management.base import BaseCommand, CommandError -from django.core.management.color import color_style, no_style +from django.core.management.color import no_style from django.core.management.sql import custom_sql_for_model, emit_post_migrate_signal, emit_pre_migrate_signal from django.db import connections, router, transaction, models, DEFAULT_DB_ALIAS from django.db.migrations.executor import MigrationExecutor @@ -38,8 +38,6 @@ class Command(BaseCommand): self.load_initial_data = options.get('load_initial_data') self.test_database = options.get('test_database', False) - self.style = color_style() - # Import the 'management' module within each installed app, to register # dispatcher events. for app_name in settings.INSTALLED_APPS: