[ARVADOS] updated: 98329b75276412e605d54b3a0f907a5cf204384f

Git user git at public.curoverse.com
Tue Mar 14 16:01:00 EDT 2017


Summary of changes:
 services/api/app/controllers/arvados/v1/groups_controller.rb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

       via  98329b75276412e605d54b3a0f907a5cf204384f (commit)
      from  c7515954731c6b7c0d8fb241ec4316a5e6d62d0c (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 98329b75276412e605d54b3a0f907a5cf204384f
Author: radhika <radhika at curoverse.com>
Date:   Tue Mar 14 16:00:17 2017 -0400

    11071: formatting on the long if statement

diff --git a/services/api/app/controllers/arvados/v1/groups_controller.rb b/services/api/app/controllers/arvados/v1/groups_controller.rb
index 7d4bca5..ded28c7 100644
--- a/services/api/app/controllers/arvados/v1/groups_controller.rb
+++ b/services/api/app/controllers/arvados/v1/groups_controller.rb
@@ -96,7 +96,10 @@ class Arvados::V1::GroupsController < ApplicationController
       @offset = 0 if seen_last_class  # reset offset for the new next type being processed
 
       # if current klass is same as params['last_object_class'], mark that fact
-      seen_last_class = true if(params['count'].andand.==('none') and (params['last_object_class'].nil? or params['last_object_class'].empty? or params['last_object_class'] == klass.to_s))
+      seen_last_class = true if((params['count'].andand.==('none')) and
+                                (params['last_object_class'].nil? or
+                                 params['last_object_class'].empty? or
+                                 params['last_object_class'] == klass.to_s))
 
       # if klasses are specified, skip all other klass types
       next if wanted_klasses.any? and !wanted_klasses.include?(klass.to_s)

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list