[ARVADOS] created: 00deca5e849015747100a73957f7a6d444d5a79a
Git user
git at public.curoverse.com
Tue Mar 28 12:48:44 EDT 2017
at 00deca5e849015747100a73957f7a6d444d5a79a (commit)
commit 00deca5e849015747100a73957f7a6d444d5a79a
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Tue Mar 28 12:44:20 2017 -0400
11332: Suppress phone-home behavior in check_exists by recognizing
http://arvados.org/cwl and returning True.
diff --git a/sdk/cwl/arvados_cwl/fsaccess.py b/sdk/cwl/arvados_cwl/fsaccess.py
index 2191dcb..70aa69f 100644
--- a/sdk/cwl/arvados_cwl/fsaccess.py
+++ b/sdk/cwl/arvados_cwl/fsaccess.py
@@ -152,6 +152,8 @@ class CollectionFetcher(DefaultFetcher):
def check_exists(self, url):
try:
+ if url.startswith("http://arvados.org/cwl"):
+ return True
if url.startswith("keep:"):
return self.fsaccess.exists(url)
if url.startswith("arvwf:"):
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list