Olivier Gayot has proposed merging ~ogayot/curtin:timeout-f-string into curtin:master.
Commit message: util: fix lack of string interpolation when raising TiemoutError Requested reviews: Dan Bungert (dbungert) For more details, see: https://code.launchpad.net/~ogayot/curtin/+git/curtin/+merge/464302 -- Your team curtin developers is subscribed to branch curtin:master.
diff --git a/curtin/util.py b/curtin/util.py index d9b7962..a10f1bf 100644 --- a/curtin/util.py +++ b/curtin/util.py @@ -1449,7 +1449,7 @@ class FlockEx: LOG.debug(f"Try {i}: lock acquisition failed with {ex}") time.sleep(self.timeout / self.retries) else: - raise TimeoutError("Failed to acquire LOCK_EX on {self.device}") + raise TimeoutError(f"Failed to acquire LOCK_EX on {self.device}") def __exit__(self, *args): LOG.debug(f"Releasing fcntl LOCK_EX on {self.device}")
-- Mailing list: https://launchpad.net/~curtin-dev Post to : curtin-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~curtin-dev More help : https://help.launchpad.net/ListHelp