From eb1628579067191dc2322728da948a8c2f5edbe6 Mon Sep 17 00:00:00 2001 From: deeplow Date: Thu, 20 Jul 2023 14:26:23 +0100 Subject: [PATCH] Replace container output command prefix ">>>" In the junitxml this prefix would look ugly (">>>") because it has to escape any non-xml tags. --- dangerzone/conversion/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dangerzone/conversion/common.py b/dangerzone/conversion/common.py index 677ac6e..8fd66d4 100644 --- a/dangerzone/conversion/common.py +++ b/dangerzone/conversion/common.py @@ -79,7 +79,7 @@ class DangerzoneConverter: # Log command to debug log so we can trace back which errors # are from each command - self.captured_output += f">>> {' '.join(args)}\n".encode() + self.captured_output += f"[COMMAND] {' '.join(args)}\n".encode() assert proc.stdout is not None assert proc.stderr is not None