[ARVADOS] updated: e52e5bbddc8599d53a7d62e1f6a5b131ac6c3af5

git at public.curoverse.com git at public.curoverse.com
Thu Jun 12 14:35:43 EDT 2014


Summary of changes:
 services/api/script/get_anonymous_user_token.rb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

       via  e52e5bbddc8599d53a7d62e1f6a5b131ac6c3af5 (commit)
      from  c8eda6129bb6a40475157e4816d30fa4d2d66aed (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 e52e5bbddc8599d53a7d62e1f6a5b131ac6c3af5
Author: radhika <radhika at curoverse.com>
Date:   Thu Jun 12 14:35:08 2014 -0400

    2659: variable name

diff --git a/services/api/script/get_anonymous_user_token.rb b/services/api/script/get_anonymous_user_token.rb
index 081d6f6..76e2088 100755
--- a/services/api/script/get_anonymous_user_token.rb
+++ b/services/api/script/get_anonymous_user_token.rb
@@ -11,12 +11,12 @@ opts = Trollop::options do
   banner "Usage: get_anonymous_user_token "
   banner ''
   opt :get, <<-eos
-Get an existing anonymous user token. If no such token exists \n
+Get an existing anonymous user token. If no such token exists \
 or if this option is omitted, a new token is created and returned.
   eos
 end
 
-create_or_get = opts[:get]
+get_existing = opts[:get]
 
 require File.dirname(__FILE__) + '/../config/environment'
 
@@ -32,7 +32,7 @@ def create_api_client_auth
   api_client_auth.reload
 end
 
-if create_or_get
+if get_existing
   api_client_auth = ApiClientAuthorization.
     where('user_id=?', anonymous_user.id.to_i).first
 end

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list