Fixed flake8 warnings.
This commit is contained in:
parent
4453c80634
commit
9a922dcad1
|
@ -716,7 +716,6 @@ class MigrationAutodetector(object):
|
||||||
self.renamed_fields[app_label, model_name, field_name] = rem_field_name
|
self.renamed_fields[app_label, model_name, field_name] = rem_field_name
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
||||||
def generate_added_fields(self):
|
def generate_added_fields(self):
|
||||||
"""
|
"""
|
||||||
Fields that have been added
|
Fields that have been added
|
||||||
|
|
|
@ -56,7 +56,7 @@ class Counter(six.Iterator):
|
||||||
raise StopIteration
|
raise StopIteration
|
||||||
else:
|
else:
|
||||||
self.n += 1
|
self.n += 1
|
||||||
return (self.n, 'val-'+str(self.n))
|
return (self.n, 'val-' + str(self.n))
|
||||||
|
|
||||||
|
|
||||||
class WhizIter(models.Model):
|
class WhizIter(models.Model):
|
||||||
|
|
Loading…
Reference in New Issue