[ARVADOS] updated: 1.3.0-157-g6bbdc0691

Git user git at public.curoverse.com
Thu Jan 17 04:51:13 EST 2019


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

       via  6bbdc069109b1a51e39456b78c6727b63a9c0e1d (commit)
      from  a974fc22eeef0c417eb9f41bda556baa89a5ea68 (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 6bbdc069109b1a51e39456b78c6727b63a9c0e1d
Author: Lucas Di Pentima <ldipentima at veritasgenetics.com>
Date:   Thu Jan 17 06:48:53 2019 -0300

    14539: Removes pointless code comment.
    
    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 9b29e8804..2619ba508 100644
--- a/sdk/python/arvados/_normalize_stream.py
+++ b/sdk/python/arvados/_normalize_stream.py
@@ -10,10 +10,7 @@ import re
 def escape(path):
     # Escape literal backslash
     path = re.sub('\\\\', lambda m: '\\134', path)
-    # Escape other special chars. Py3's oct() output differs from Py2, this takes
-    # care of those differences.
-    path = re.sub(
-        '([:\000-\040])', lambda m: "\\%03o" % ord(m.group(1)), path)
+    path = re.sub('([:\000-\040])', lambda m: "\\%03o" % ord(m.group(1)), path)
     return path
 
 def normalize_stream(stream_name, stream):

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list