diff options
| author | Tim Graham <timograham@gmail.com> | 2014-07-31 08:06:46 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-07-31 08:06:46 -0400 |
| commit | 9a922dcad1e50afc91329009e8689e5c08c2a1bf (patch) | |
| tree | b4f52e4aa021e8dbf9985f4d62d36ca291afbd28 | |
| parent | 4453c80634fb72b60e849480e52c06b570c696d5 (diff) | |
Fixed flake8 warnings.
| -rw-r--r-- | django/db/migrations/autodetector.py | 1 | ||||
| -rw-r--r-- | tests/model_fields/models.py | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/django/db/migrations/autodetector.py b/django/db/migrations/autodetector.py index dd9595bd7e..5ffa22d8ce 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 0e9fe23c67..430722cf4b 100644 --- a/tests/model_fields/models.py +++ b/tests/model_fields/models.py @@ -56,7 +56,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): |
