From: Eric Biagiotti Date: Thu, 24 Jan 2019 14:38:25 +0000 (-0500) Subject: 13306: Unicode fix for docker image generation in py3 environment X-Git-Tag: 1.4.0~158^2~15 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/fa5e2a328b26c71194bf676d850b3971542123fc 13306: Unicode fix for docker image generation in py3 environment Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti --- diff --git a/sdk/python/arvados/commands/keepdocker.py b/sdk/python/arvados/commands/keepdocker.py index 55fc6b626d..2d306d516a 100644 --- a/sdk/python/arvados/commands/keepdocker.py +++ b/sdk/python/arvados/commands/keepdocker.py @@ -133,6 +133,7 @@ def docker_images(): next(list_output) # Ignore the header line for line in list_output: words = line.split() + words = [word.decode() for word in words] size_index = len(words) - 2 repo, tag, imageid = words[:3] ctime = ' '.join(words[3:size_index])