[ARVADOS] updated: 36bf949652cf8544f6176f77e07273cd3bf9df77
git at public.curoverse.com
git at public.curoverse.com
Fri Oct 17 11:41:34 EDT 2014
Summary of changes:
sdk/python/arvados/commands/copy.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
via 36bf949652cf8544f6176f77e07273cd3bf9df77 (commit)
from 41c5cc5a3731417a31c8db685e78cb795bbbe91b (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 36bf949652cf8544f6176f77e07273cd3bf9df77
Author: Tim Pierce <twp at curoverse.com>
Date: Fri Oct 17 11:40:36 2014 -0400
3699: bugfix: some leftover recursive/force options
recursive -> args.recursive
force -> args.force
dst_git_repo -> args.dst_git_repo
diff --git a/sdk/python/arvados/commands/copy.py b/sdk/python/arvados/commands/copy.py
index 3fa554e..cba7851 100755
--- a/sdk/python/arvados/commands/copy.py
+++ b/sdk/python/arvados/commands/copy.py
@@ -237,8 +237,8 @@ def copy_pipeline_template(pt_uuid, src, dst, args):
# fetch the pipeline template from the source instance
pt = src.pipeline_templates().get(uuid=pt_uuid).execute()
- if recursive:
- if not dst_git_repo:
+ if args.recursive:
+ if not args.dst_git_repo:
abort('--dst-git-repo is required when copying a pipeline recursively.')
# Copy input collections, docker images and git repos.
pt = copy_collections(pt, src, dst, args)
@@ -271,7 +271,7 @@ def copy_collections(obj, src, dst, args):
elif type(obj) == dict:
return {v: copy_collections(obj[v], src, dst, args) for v in obj}
elif type(obj) == list:
- return [copy_collections(v, src, dst, force, args) for v in obj]
+ return [copy_collections(v, src, dst, args) for v in obj]
return obj
# copy_git_repos(p, src, dst, dst_repo)
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list