On 29/08/2025 16.26, Daniel P. Berrangé wrote:
The catch-all exception handler forgot the placeholder for
the exception details.

Signed-off-by: Daniel P. Berrangé <[email protected]>
---
  tests/functional/qemu_test/asset.py | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

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 @@ def fetch(self):
                  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)

Reviewed-by: Thomas Huth <[email protected]>


Reply via email to