[ARVADOS] updated: c33f4e367c8101c70c31645ede4ac12ce85947c9

git at public.curoverse.com git at public.curoverse.com
Thu Nov 20 12:02:56 EST 2014


Summary of changes:
 services/api/app/models/user.rb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

       via  c33f4e367c8101c70c31645ede4ac12ce85947c9 (commit)
      from  1a2e18ce382675b73fd6f8d54eea29bf47f26bb3 (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 c33f4e367c8101c70c31645ede4ac12ce85947c9
Author: Tom Clegg <tom at curoverse.com>
Date:   Thu Nov 20 12:02:57 2014 -0500

    Fix syntax error in whitespace. refs #3824

diff --git a/services/api/app/models/user.rb b/services/api/app/models/user.rb
index f55e24b..a32ce39 100644
--- a/services/api/app/models/user.rb
+++ b/services/api/app/models/user.rb
@@ -402,8 +402,7 @@ class User < ArvadosModel
     return (Link.where(tail_uuid: self.uuid,
                        head_uuid: all_users_group[:uuid],
                        link_class: 'permission',
-                       name: 'can_read').first
-            or
+                       name: 'can_read').first or
             Link.create(tail_uuid: self.uuid,
                         head_uuid: all_users_group[:uuid],
                         link_class: 'permission',

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list