From 5f57acbd4c217cdc922f5532b883278d567f4eba Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Thu, 14 Apr 2022 12:01:38 -0600 Subject: [PATCH] repo_utils: Fix logging in bootstrap_teuthology 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 916a34076..4db15383e 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(): + for line in out.split("\n"): log.warning(line.strip()) venv_path = os.path.join(dest_path, 'virtualenv') log.info("Removing %s", venv_path) -- 2.47.3