From 9f511ae651075717e86085faf494210968da6287 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Tue, 26 Apr 2022 19:09:47 -0600 Subject: [PATCH] bootstrap_teuthology: Call decode() on stderr Signed-off-by: Zack Cerza --- teuthology/repo_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/repo_utils.py b/teuthology/repo_utils.py index 4db15383e9..703eb9739e 100644 --- a/teuthology/repo_utils.py +++ b/teuthology/repo_utils.py @@ -430,7 +430,7 @@ def bootstrap_teuthology(dest_path): returncode = boot_proc.wait() log.info("Bootstrap exited with status %s", returncode) if returncode != 0: - for line in out.split("\n"): + for line in out.decode().split("\n"): log.warning(line.strip()) venv_path = os.path.join(dest_path, 'virtualenv') log.info("Removing %s", venv_path) -- 2.39.5