# HG changeset patch # User Pawel Solyga # Date 1236201822 0 # Node ID 1ccf04cbca15b868f203037895d9334878c57dbb # Parent 1533893ed45a0d3e339059c6dee042f884bb30db Fix too long lines soc.views.models.club_admin, club_app and club_member modules. Patch by: Pawel Solyga Reviewed by: to-be-reviewed diff -r 1533893ed45a -r 1ccf04cbca15 app/soc/views/models/club_admin.py --- a/app/soc/views/models/club_admin.py Wed Mar 04 21:22:52 2009 +0000 +++ b/app/soc/views/models/club_admin.py Wed Mar 04 21:23:42 2009 +0000 @@ -56,7 +56,8 @@ rights['delete'] = ['checkIsDeveloper'] rights['invite'] = [('checkHasActiveRoleForScope', club_admin_logic.logic)] rights['accept_invite'] = [('checkCanCreateFromRequest', 'club_admin')] - rights['process_request'] = [('checkHasActiveRoleForScope', club_admin_logic.logic), + rights['process_request'] = [('checkHasActiveRoleForScope', + club_admin_logic.logic), ('checkCanProcessRequest', 'club_admin')] rights['manage'] = [('checkIsAllowedToManageRole', [club_admin_logic.logic, diff -r 1533893ed45a -r 1ccf04cbca15 app/soc/views/models/club_app.py --- a/app/soc/views/models/club_app.py Wed Mar 04 21:22:52 2009 +0000 +++ b/app/soc/views/models/club_app.py Wed Mar 04 21:23:42 2009 +0000 @@ -61,7 +61,8 @@ # TODO(ljvderijk) make sure host role check is fixed rights['review'] = [('checkHasActiveRoleForScope', host_logic.logic), ('checkCanReviewGroupApp', [club_app_logic.logic])] - rights['review_overview'] = [('checkHasActiveRoleForScope', host_logic.logic)] + rights['review_overview'] = [('checkHasActiveRoleForScope', + host_logic.logic)] new_params = {} diff -r 1533893ed45a -r 1ccf04cbca15 app/soc/views/models/club_member.py --- a/app/soc/views/models/club_member.py Wed Mar 04 21:22:52 2009 +0000 +++ b/app/soc/views/models/club_member.py Wed Mar 04 21:23:42 2009 +0000 @@ -58,8 +58,9 @@ rights['accept_invite'] = [('checkCanCreateFromRequest','club_member')] rights['request'] = ['checkIsUser', ('checkCanMakeRequestToGroup', club_logic)] - rights['process_request'] = [('checkHasActiveRoleForScope', club_admin_logic.logic), - ('checkCanProcessRequest','club_member')] + rights['process_request'] = [('checkHasActiveRoleForScope', + club_admin_logic.logic), + ('checkCanProcessRequest','club_member')] rights['manage'] = [('checkIsAllowedToManageRole', [soc.logic.models.club_member.logic, club_admin_logic.logic])]