[1.7.x] Fixed flake8 warnings.

Backport of 9a922dcad1 from master
This commit is contained in:
Tim Graham 2014-07-31 08:06:46 -04:00
parent 567ae0d529
commit 063e7e56bc
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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):