Commit 39e2ad45 authored by Alex Gaynor's avatar Alex Gaynor Committed by Tim Graham
Browse files

[1.7.x] Fixed several flake8 errors

Backport of d17a4cb0 from master
parent a81282a5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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):
+2 −2

File changed.

Contains only whitespace changes.

+3 −3

File changed.

Contains only whitespace changes.