diff options
| author | Daniel P. Berrangé <berrange@redhat.com> | 2025-08-29 15:26:15 +0100 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2025-09-09 09:57:51 +0200 |
| commit | 124ab930ba38c41a86533dbfabb7a3b3b270ef98 (patch) | |
| tree | c7818830457d9a6349cfbfea4240ebee0ffc2ebd /tests/functional/qemu_test/asset.py | |
| parent | 9f80f3695d305015f5271d946304e5cffee607c2 (diff) | |
| download | focaccia-qemu-124ab930ba38c41a86533dbfabb7a3b3b270ef98.tar.gz focaccia-qemu-124ab930ba38c41a86533dbfabb7a3b3b270ef98.zip | |
tests/functional: fix formatting of exception args
The catch-all exception handler forgot the placeholder for the exception details. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-ID: <20250829142616.2633254-3-berrange@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/functional/qemu_test/asset.py')
| -rw-r--r-- | tests/functional/qemu_test/asset.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/qemu_test/asset.py b/tests/functional/qemu_test/asset.py index b5a6136d36..5c74adf224 100644 --- a/tests/functional/qemu_test/asset.py +++ b/tests/functional/qemu_test/asset.py @@ -173,7 +173,7 @@ class Asset: continue except Exception as e: tmp_cache_file.unlink() - raise AssetError(self, "Unable to download: " % e) + raise AssetError(self, "Unable to download: %s" % e) if not os.path.exists(tmp_cache_file): raise AssetError(self, "Download retries exceeded", transient=True) |