Two whitespace changes to appease flake8

This commit is contained in:
Alex Gaynor 2014-02-23 11:07:52 -06:00
parent 4f7b7ef683
commit a8a5c31966
1 changed files with 1 additions and 1 deletions

View File

@ -485,6 +485,7 @@ class OperationTests(MigrationTestBase):
Pony = models.get_model("test_runpython", "Pony") Pony = models.get_model("test_runpython", "Pony")
Pony.objects.create(pink=1, weight=3.55) Pony.objects.create(pink=1, weight=3.55)
Pony.objects.create(weight=5) Pony.objects.create(weight=5)
def inner_method_reverse(models, schema_editor): def inner_method_reverse(models, schema_editor):
Pony = models.get_model("test_runpython", "Pony") Pony = models.get_model("test_runpython", "Pony")
Pony.objects.filter(pink=1, weight=3.55).delete() Pony.objects.filter(pink=1, weight=3.55).delete()
@ -517,7 +518,6 @@ class OperationTests(MigrationTestBase):
no_reverse_operation.database_backwards("test_runpython", editor, new_state, project_state) no_reverse_operation.database_backwards("test_runpython", editor, new_state, project_state)
class MigrateNothingRouter(object): class MigrateNothingRouter(object):
""" """
A router that sends all writes to the other database. A router that sends all writes to the other database.