From a5ec25693e30a388df76cbf44e5c34bc7cdbaec3 Mon Sep 17 00:00:00 2001 From: Kivi Kaitaniemi Date: Tue, 6 Jan 2026 20:08:54 +0200 Subject: [PATCH] Fix source and target ordering on file install errors --- src/decman/core/error.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/decman/core/error.py b/src/decman/core/error.py index 74482ee..3f0f4b8 100644 --- a/src/decman/core/error.py +++ b/src/decman/core/error.py @@ -12,7 +12,7 @@ class FSInstallationFailedError(Exception): Error raised when trying to install a file/directory to a target. """ - def __init__(self, target: str, source: str, reason: str): + def __init__(self, source: str, target: str, reason: str): self.source = source self.target = target super().__init__(f"Failed to install file from {source} to {target}: {reason}.")