From 2f966955beccf14af090060a435e744938d1f8f4 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 17 Jun 2020 18:03:22 +0800 Subject: [PATCH] teuthology/suite: drop six.ensure_str() Signed-off-by: Kefu Chai --- teuthology/suite/util.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/teuthology/suite/util.py b/teuthology/suite/util.py index 9083138f83..9efb460afd 100644 --- a/teuthology/suite/util.py +++ b/teuthology/suite/util.py @@ -5,7 +5,6 @@ import requests import smtplib import socket import subprocess -import six import sys from email.mime.text import MIMEText @@ -462,7 +461,7 @@ def find_git_parent(project, sha1): resp = requests.get(url) if not resp.ok: log.error('git refresh failed for %s: %s', - project, six.ensure_str(resp.content)) + project, resp.content.decode()) def get_sha1s(project, committish, count): url = '/'.join((base_url, '%s.git' % project, -- 2.39.5