Fix too long lines soc.views.models.club_admin, club_app and club_member modules.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
--- 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,
--- 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 = {}
--- 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])]