[ARVADOS] updated: dac77d5d53bb56054b91ba2ed223a49da08848f8

git at public.curoverse.com git at public.curoverse.com
Tue Aug 18 08:44:38 EDT 2015


Summary of changes:
 sdk/python/arvados/commands/arv_copy.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

       via  dac77d5d53bb56054b91ba2ed223a49da08848f8 (commit)
      from  45fcd8aeec29e7e3b86415811f2cf2a5beb82a54 (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 dac77d5d53bb56054b91ba2ed223a49da08848f8
Author: Brett Smith <brett at curoverse.com>
Date:   Tue Aug 18 08:44:06 2015 -0400

    6095: Brown paper bag fix the last commit.
    
    I swear I tried to test before I pushed, but I used --no-recursive,
    which meant we never got to this code.  That also explains why we
    didn't catch the lack of recursion earlier.  Apologies.  Refs #6095.

diff --git a/sdk/python/arvados/commands/arv_copy.py b/sdk/python/arvados/commands/arv_copy.py
index c1ee156..8ee61f5 100755
--- a/sdk/python/arvados/commands/arv_copy.py
+++ b/sdk/python/arvados/commands/arv_copy.py
@@ -330,10 +330,10 @@ def copy_collections(obj, src, dst, args):
         obj = arvados.util.collection_uuid_pattern.sub(copy_collection_fn, obj)
         return obj
     elif isinstance(obj, dict):
-        return type(v)((v, copy_collections(obj[v], src, dst, args))
-                       for v in obj)
+        return type(obj)((v, copy_collections(obj[v], src, dst, args))
+                         for v in obj)
     elif isinstance(obj, list):
-        return type(v)(copy_collections(v, src, dst, args) for v in obj)
+        return type(obj)(copy_collections(v, src, dst, args) for v in obj)
     return obj
 
 def migrate_jobspec(jobspec, src, dst, dst_repo, args):

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list