]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
repo_utils: Fix logging in bootstrap_teuthology 1742/head
authorZack Cerza <zack@redhat.com>
Thu, 14 Apr 2022 18:01:38 +0000 (12:01 -0600)
committerZack Cerza <zack@redhat.com>
Thu, 14 Apr 2022 22:42:26 +0000 (16:42 -0600)
Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/repo_utils.py

index 916a34076bf27567096909034da8cab1a6c1cd9f..4db15383e98f922be4c9aff5200a1318389e4b9a 100644 (file)
@@ -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)