]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
bootstrap_teuthology: Call decode() on stderr venv-relocation
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:09:47 +0000 (19:09 -0600)
Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/repo_utils.py

index 432c3ea96f34972ebd835a823d2066ceb3df2016..07cb2c0785aeebb93edec505ff3bffd7c7bb5262 100644 (file)
@@ -451,7 +451,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)