pep8
Fixed migrations.

Fixes problems introduced by 08277916abb09382a1241aadafa53c9881315fd5