[ARVADOS] updated: 6696af28df909c0eb45f6cee8e7a3fc1d5658104

git at public.curoverse.com git at public.curoverse.com
Fri Jan 10 16:11:48 EST 2014


Summary of changes:
 sdk/cli/bin/arv |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

       via  6696af28df909c0eb45f6cee8e7a3fc1d5658104 (commit)
      from  a999d262ee97000ed313cd4c127e0acf55e98c08 (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 6696af28df909c0eb45f6cee8e7a3fc1d5658104
Author: Tom Clegg <tom at curoverse.com>
Date:   Fri Jan 10 13:11:36 2014 -0800

    Fix crash when a discovered parameter is not supplied. closes #1866

diff --git a/sdk/cli/bin/arv b/sdk/cli/bin/arv
index cd5307e..3f0f252 100755
--- a/sdk/cli/bin/arv
+++ b/sdk/cli/bin/arv
@@ -251,7 +251,7 @@ def parse_arguments(discovery_document)
   discovered_params.each do |k,v|
     k = k.to_sym
     if ['object', 'array'].index(v["type"]) and method_opts.has_key? k
-      if method_opts[k].match /^\//
+      if method_opts[k].andand.match /^\//
         method_opts[k] = File.open method_opts[k], 'rb' do |f| f.read end
       end
     end

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list