Fix too long lines and remove unused imports in soc.views.models.host module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
--- a/app/soc/views/models/host.py Wed Mar 04 21:19:49 2009 +0000
+++ b/app/soc/views/models/host.py Wed Mar 04 21:22:52 2009 +0000
@@ -26,10 +26,8 @@
from django import forms
from soc.logic import cleaning
-from soc.logic import accounts
from soc.logic import dicts
from soc.logic.models import host as host_logic
-from soc.logic.models import user as user_logic
from soc.logic.models import sponsor as sponsor_logic
from soc.views.helper import access
from soc.views.helper import decorators
@@ -62,7 +60,8 @@
rights['invite'] = [('checkHasActiveRoleForScope', host_logic.logic)]
rights['list'] = ['checkIsDeveloper']
rights['accept_invite'] = [('checkCanCreateFromRequest','host')]
- rights['process_request'] = [('checkHasActiveRoleForScope', host_logic.logic),
+ rights['process_request'] = [('checkHasActiveRoleForScope',
+ host_logic.logic),
('checkCanProcessRequest','host')]
rights['manage'] = [('checkIsAllowedToManageRole',
[host_logic.logic, host_logic.logic])]