File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -406,17 +406,17 @@ def copy_to_additional_locations() -> dict[str | None, Path]:
406406 except BackupDataDiskBadMessageError :
407407 self .sys_resolution .unhealthy = UnhealthyReason .OSERROR_BAD_MESSAGE
408408 raise
409-
410- backup .all_locations .update (
411- {
412- loc : {
413- ATTR_PATH : path ,
414- ATTR_PROTECTED : backup .protected ,
415- ATTR_SIZE_BYTES : backup .size_bytes ,
409+ finally :
410+ backup .all_locations .update (
411+ {
412+ loc : {
413+ ATTR_PATH : path ,
414+ ATTR_PROTECTED : backup .protected ,
415+ ATTR_SIZE_BYTES : backup .size_bytes ,
416+ }
417+ for loc , path in all_new_locations .items ()
416418 }
417- for loc , path in all_new_locations .items ()
418- }
419- )
419+ )
420420
421421 @Job (name = "backup_manager_import_backup" )
422422 async def import_backup (
You can’t perform that action at this time.
0 commit comments