mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Unwanted residual code
This commit is contained in:
parent
f98ad4f191
commit
b54266cbf3
1 changed files with 2 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue