From 4ca39684ee1e21b7e508d58ee89f9a0c309399c4 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Thu, 5 Dec 2013 14:10:58 +0000 Subject: [PATCH] Fix poor variable name (flake8 warning) --- django/core/management/commands/makemigrations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/core/management/commands/makemigrations.py b/django/core/management/commands/makemigrations.py index 284898d8d4..239a0a416c 100644 --- a/django/core/management/commands/makemigrations.py +++ b/django/core/management/commands/makemigrations.py @@ -89,10 +89,10 @@ class Command(BaseCommand): return directory_created = {} - for app_label, migrations in changes.items(): + for app_label, app_migrations in changes.items(): if self.verbosity >= 1: self.stdout.write(self.style.MIGRATE_HEADING("Migrations for '%s':" % app_label) + "\n") - for migration in migrations: + for migration in app_migrations: # Describe the migration writer = MigrationWriter(migration) if self.verbosity >= 1: