Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove useless override of self.style

  • Loading branch information...
commit 679627660fef3c7a9f7be743a168930e4a0e58ae 1 parent 588b523
Andrew Godwin andrewgodwin authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 django/core/management/commands/migrate.py
4 django/core/management/commands/migrate.py
View
@@ -6,7 +6,7 @@
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 @@ def handle(self, *args, **options):
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:
Please sign in to comment.
Something went wrong with that request. Please try again.