[fix] Unwanted residual code

This commit is contained in:
ljf 2019-08-14 17:55:17 +02:00
parent f98ad4f191
commit b54266cbf3

View file

@ -1139,8 +1139,8 @@ def tools_migrations_migrate(targets=[], skip=False, auto=False, force_rerun=Fal
try:
migration.operation_logger = operation_logger
logger.info(m18n.n('migrations_running_forward', id=migration.id))
migration.run()
logger.info(m18n.n('migrations_running_forward', id=migration.id))
migration.run()
except Exception as e:
# migration failed, let's stop here but still update state because
# we managed to run the previous ones
@ -1293,9 +1293,6 @@ def _skip_all_migrations():
write_to_yaml(MIGRATIONS_STATE_PATH, new_states)
def _get_revert_dependencies(migration, all_migrations):
class Migration(object):
# Those are to be implemented by daughter classes