From 72c96b3ac30ad17fad3dda69836478fd1e54492d Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Fri, 3 Mar 2017 09:23:55 -0800 Subject: [PATCH] Fix encoding issue in shippable downloader. --- test/utils/shippable/download.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/utils/shippable/download.py b/test/utils/shippable/download.py index cd5609df2f..cbda144a84 100755 --- a/test/utils/shippable/download.py +++ b/test/utils/shippable/download.py @@ -138,7 +138,7 @@ def extract_contents(args, path, output_dir): items = json.load(json_fd) for item in items: - contents = item['contents'] + contents = item['contents'].encode('utf-8') path = output_dir + '/' + re.sub('^/*', '', item['path']) directory = os.path.dirname(path)