[ARVADOS] created: 1.3.0-389-gf87ca89cd
Git user
git at public.curoverse.com
Mon Feb 25 17:08:59 EST 2019
at f87ca89cd9599b8429216f65782106b67aa107be (commit)
commit f87ca89cd9599b8429216f65782106b67aa107be
Author: Tom Morris <tfmorris at veritasgenetics.com>
Date: Mon Feb 25 16:29:39 2019 -0500
14884: Allow non-ASCII filenames in manifests. Fixes #14884
Arvados-DCO-1.1-Signed-off-by: Tom Morris <tfmorris at veritasgenetics.com>
diff --git a/sdk/python/arvados/_normalize_stream.py b/sdk/python/arvados/_normalize_stream.py
index b579d41ed..485c757e7 100644
--- a/sdk/python/arvados/_normalize_stream.py
+++ b/sdk/python/arvados/_normalize_stream.py
@@ -55,13 +55,13 @@ def normalize_stream(stream_name, stream):
if streamoffset == current_span[1]:
current_span[1] += segment.segment_size
else:
- stream_tokens.append("{0}:{1}:{2}".format(current_span[0], current_span[1] - current_span[0], fout))
+ stream_tokens.append(u"{0}:{1}:{2}".format(current_span[0], current_span[1] - current_span[0], fout))
current_span = [streamoffset, streamoffset + segment.segment_size]
if current_span is not None:
- stream_tokens.append("{0}:{1}:{2}".format(current_span[0], current_span[1] - current_span[0], fout))
+ stream_tokens.append(u"{0}:{1}:{2}".format(current_span[0], current_span[1] - current_span[0], fout))
if not stream[streamfile]:
- stream_tokens.append("0:0:{0}".format(fout))
+ stream_tokens.append(u"0:0:{0}".format(fout))
return stream_tokens
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list