From: Zack Cerza Date: Thu, 14 Apr 2022 18:01:38 +0000 (-0600) Subject: repo_utils: Fix logging in bootstrap_teuthology X-Git-Tag: 1.2.0~184^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1742%2Fhead;p=teuthology.git repo_utils: Fix logging in bootstrap_teuthology Signed-off-by: Zack Cerza --- 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)