]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
bootstrap_teuthology: Call decode() on stderr 1751/head
authorZack Cerza <zack@redhat.com>
Wed, 27 Apr 2022 01:09:47 +0000 (19:09 -0600)
committerZack Cerza <zack@redhat.com>
Wed, 27 Apr 2022 01:11:07 +0000 (19:11 -0600)
Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/repo_utils.py

index 4db15383e98f922be4c9aff5200a1318389e4b9a..703eb9739e530951246b402a6905e0e5fc08ac5c 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("\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)