[ARVADOS] created: 1.3.0-1714-gfbaa68984
Git user
git at public.curoverse.com
Wed Oct 9 12:44:29 UTC 2019
at fbaa689841e77e152567775d64aaab743dbcdaf0 (commit)
commit fbaa689841e77e152567775d64aaab743dbcdaf0
Author: Eric Biagiotti <ebiagiotti at veritasgenetics.com>
Date: Wed Oct 9 08:40:30 2019 -0400
15655: Fixes logtail encoding
Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti at veritasgenetics.com>
diff --git a/sdk/cwl/arvados_cwl/done.py b/sdk/cwl/arvados_cwl/done.py
index c0e3e0de2..e12fe185a 100644
--- a/sdk/cwl/arvados_cwl/done.py
+++ b/sdk/cwl/arvados_cwl/done.py
@@ -70,7 +70,7 @@ def logtail(logcollection, logfunc, header, maxlen=25):
logname = log[:-4]
logt = deque([], maxlen)
mergelogs[logname] = logt
- with logcollection.open(log) as f:
+ with logcollection.open(log, encoding="utf-8") as f:
for l in f:
if containersapi:
g = timestamp_re.match(l)
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list