[ARVADOS] updated: 1f469018cec0daf492a8a8e397d094ec88f6cd49
git at public.curoverse.com
git at public.curoverse.com
Mon Oct 6 15:14:28 EDT 2014
Summary of changes:
sdk/python/arvados/commands/put.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
via 1f469018cec0daf492a8a8e397d094ec88f6cd49 (commit)
from 6b19642e4ca1ddd14df276fd64a76e2aa65348fe (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 1f469018cec0daf492a8a8e397d094ec88f6cd49
Author: Brett Smith <brett at curoverse.com>
Date: Mon Oct 6 15:16:23 2014 -0400
arv-put parses arguments before instantiating an API client.
This helps ensure that `--help` responds quickly even if the server is
slow or down. No issue #.
diff --git a/sdk/python/arvados/commands/put.py b/sdk/python/arvados/commands/put.py
index 0099487..53d6f56 100644
--- a/sdk/python/arvados/commands/put.py
+++ b/sdk/python/arvados/commands/put.py
@@ -364,11 +364,11 @@ def desired_project_uuid(api_client, project_uuid, num_retries):
def main(arguments=None, stdout=sys.stdout, stderr=sys.stderr):
global api_client
- if api_client is None:
- api_client = arvados.api('v1')
- status = 0
args = parse_arguments(arguments)
+ status = 0
+ if api_client is None:
+ api_client = arvados.api('v1')
# Determine the name to use
if args.name:
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list