Remove unused imports and fix too long lines in soc.views.models.site module.
authorPawel Solyga <Pawel.Solyga@gmail.com>
Wed, 04 Mar 2009 18:16:20 +0000
changeset 1635 b7e2d494aa11
parent 1634 85bbf50038b8
child 1636 0d10eb42a8a1
Remove unused imports and fix too long lines in soc.views.models.site module. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
app/soc/views/models/site.py
--- 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)$',