Remove unused imports and fix too long lines in soc.views.models.site module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
--- a/app/soc/views/models/site.py Wed Mar 04 18:14:16 2009 +0000
+++ b/app/soc/views/models/site.py Wed Mar 04 18:16:20 2009 +0000
@@ -25,7 +25,6 @@
from django import forms
from django.utils.translation import ugettext
-from soc.logic import accounts
from soc.logic import cleaning
from soc.logic import dicts
from soc.views import out_of_band
@@ -103,8 +102,8 @@
page_name)]
page_name = "Maintenance"
- patterns += [(r'^maintenance$', 'soc.views.models.%(module_name)s.maintenance',
- page_name)]
+ patterns += [(r'^maintenance$',
+ 'soc.views.models.%(module_name)s.maintenance', page_name)]
page_name = "Edit Site"
patterns += [(r'^%(url_name)s/(?P<access_type>edit)$',