diff --git a/src/ota_metadata/file_table/_table.py b/src/ota_metadata/file_table/_table.py index 43df6d3a7..14f7057b0 100644 --- a/src/ota_metadata/file_table/_table.py +++ b/src/ota_metadata/file_table/_table.py @@ -138,7 +138,7 @@ def prepare_target( self.set_xattr(_target_on_mnt) except Exception as e: burst_suppressed_logger.exception( - f"failed on preparing {self}, {_rs=}: {e!r}" + f"failed on preparing {self!r}, {_rs=}: {e!r}" ) @@ -203,7 +203,7 @@ def prepare_target(self, *, target_mnt: StrOrPath) -> None: raise ValueError(f"invalid entry {self}") except Exception as e: - burst_suppressed_logger.exception(f"failed on preparing {self}: {e!r}") + burst_suppressed_logger.exception(f"failed on preparing {self!r}: {e!r}") class FileTableDirectories(TableSpec, FileTableBase): @@ -216,4 +216,4 @@ def prepare_target(self, *, target_mnt: StrOrPath) -> None: self.set_perm(_target_on_mnt) self.set_xattr(_target_on_mnt) except Exception as e: - burst_suppressed_logger.exception(f"failed on preparing {self}: {e!r}") + burst_suppressed_logger.exception(f"failed on preparing {self!r}: {e!r}")