Commit 0a515b02 authored by Tim Graham's avatar Tim Graham
Browse files

[1.7.x] Fixed flake8 errors.

Backport of 4b25ebf1 from master
parent a11ed8dc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -412,6 +412,7 @@ class BaseDatabaseCreation(object):
                app_config.name not in settings.TEST_NON_SERIALIZED_APPS
            ):
                app_list.append((app_config, None))

        # Make a function to iteratively return every object
        def get_objects():
            for model in sort_dependencies(app_list):
+0 −1
Original line number Diff line number Diff line
@@ -842,7 +842,6 @@ class TransactionTestCase(SimpleTestCase):
                         allow_cascade=self.available_apps is not None,
                         inhibit_post_migrate=self.available_apps is not None)


    def assertQuerysetEqual(self, qs, values, transform=repr, ordered=True, msg=None):
        items = six.moves.map(transform, qs)
        if not ordered: