[ARVADOS] updated: 1.3.0-158-gc5e7cbef5

Git user git at public.curoverse.com
Thu Jan 17 04:56:50 EST 2019


Summary of changes:
 sdk/python/arvados/_normalize_stream.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

       via  c5e7cbef5659a7e5e6560d5ff7cfebde7dd97527 (commit)
      from  6bbdc069109b1a51e39456b78c6727b63a9c0e1d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit c5e7cbef5659a7e5e6560d5ff7cfebde7dd97527
Author: Lucas Di Pentima <ldipentima at veritasgenetics.com>
Date:   Thu Jan 17 06:55:40 2019 -0300

    14539: Simplifies a bit further the regexp replacement on escape() function.
    
    Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima at veritasgenetics.com>

diff --git a/sdk/python/arvados/_normalize_stream.py b/sdk/python/arvados/_normalize_stream.py
index 2619ba508..b579d41ed 100644
--- a/sdk/python/arvados/_normalize_stream.py
+++ b/sdk/python/arvados/_normalize_stream.py
@@ -8,9 +8,8 @@ from . import config
 import re
 
 def escape(path):
-    # Escape literal backslash
     path = re.sub('\\\\', lambda m: '\\134', path)
-    path = re.sub('([:\000-\040])', lambda m: "\\%03o" % ord(m.group(1)), path)
+    path = re.sub('[:\000-\040]', lambda m: "\\%03o" % ord(m.group(0)), path)
     return path
 
 def normalize_stream(stream_name, stream):

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list