[ARVADOS] updated: 227b7d4fe9e0c65d9e2148af5c10632c60271822
Git user
git at public.curoverse.com
Tue May 17 13:09:06 EDT 2016
Summary of changes:
sdk/python/arvados/commands/arv_copy.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
via 227b7d4fe9e0c65d9e2148af5c10632c60271822 (commit)
from 1de6b6fe683fdc04976c9896fa9aa12c4e13c8dd (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 227b7d4fe9e0c65d9e2148af5c10632c60271822
Author: Brett Smith <brett at curoverse.com>
Date: Tue May 17 13:08:38 2016 -0400
Fixup repository migration to work with more attr specs.
diff --git a/sdk/python/arvados/commands/arv_copy.py b/sdk/python/arvados/commands/arv_copy.py
index cf054a3..bfea0da 100755
--- a/sdk/python/arvados/commands/arv_copy.py
+++ b/sdk/python/arvados/commands/arv_copy.py
@@ -294,9 +294,9 @@ def migrate_repository_filter(repo_filter, src_repository, dst_repository):
raise ValueError("component does not specify a source repository")
elif dst_repository is None:
raise ValueError("no destination repository specified to update repository filter")
- elif repo_filter == ['repository', '=', src_repository]:
+ elif repo_filter[1:] == ['=', src_repository]:
repo_filter[2] = dst_repository
- elif repo_filter == ['repository', 'in', [src_repository]]:
+ elif repo_filter[1:] == ['in', [src_repository]]:
repo_filter[2] = [dst_repository]
else:
raise ValueError("repository filter is not a simple source match")
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list