Skip to content

Commit

Permalink
revert the indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
rzvoncek committed Jun 20, 2024
1 parent b2da4fb commit 778fbb1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions medusa/backup_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,8 @@ def register_backup(backup_name, is_async, overwrite_existing=True):
if overwrite_existing:
if not BackupMan.__clean(backup_name):
logging.error(f"Registered backup name {backup_name} cleanup failed prior to re-register.")
else:
BackupMan.__instance.__backups[backup_name] = [None, BackupMan.STATUS_UNKNOWN, is_async]
logging.info("Registered backup id {}".format(backup_name))
BackupMan.__instance.__backups[backup_name] = [None, BackupMan.STATUS_UNKNOWN, is_async]
logging.info("Registered backup id {}".format(backup_name))

# Caller can decide how long to wait for a result using the registered backup future returned.
# A future is returned (for async mode), otherwise None (for non-async mode).
Expand Down

0 comments on commit 778fbb1

Please sign in to comment.