mirror of
https://github.com/django/django.git
synced 2025-08-23 03:54:35 +00:00
Fixed several flake8 errors
This commit is contained in:
parent
d7576bb27a
commit
d17a4cb037
3 changed files with 7 additions and 7 deletions
|
@ -163,8 +163,8 @@ class MigrationOptimizer(object):
|
|||
"""
|
||||
Folds a CreateModel and a DeleteModel into nothing.
|
||||
"""
|
||||
if operation.name.lower() == other.name.lower() and \
|
||||
not operation.options.get("proxy", False):
|
||||
if (operation.name.lower() == other.name.lower() and
|
||||
not operation.options.get("proxy", False)):
|
||||
return []
|
||||
|
||||
def reduce_model_alter_delete(self, operation, other, in_between):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue