From 063e7e56bcd34d76e9072ebfa3b9f1d9679dc6e9 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Thu, 31 Jul 2014 08:06:46 -0400 Subject: [PATCH] [1.7.x] Fixed flake8 warnings. Backport of 9a922dcad1 from master --- django/db/migrations/autodetector.py | 1 - tests/model_fields/models.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/django/db/migrations/autodetector.py b/django/db/migrations/autodetector.py index dd9595bd7e4..5ffa22d8ce2 100644 --- a/django/db/migrations/autodetector.py +++ b/django/db/migrations/autodetector.py @@ -716,7 +716,6 @@ class MigrationAutodetector(object): self.renamed_fields[app_label, model_name, field_name] = rem_field_name break - def generate_added_fields(self): """ Fields that have been added diff --git a/tests/model_fields/models.py b/tests/model_fields/models.py index 177d48f9dac..f53c45c693e 100644 --- a/tests/model_fields/models.py +++ b/tests/model_fields/models.py @@ -58,7 +58,7 @@ class Counter(six.Iterator): raise StopIteration else: self.n += 1 - return (self.n, 'val-'+str(self.n)) + return (self.n, 'val-' + str(self.n)) class WhizIter(models.Model):