Fix too long lines in soc.views.helper.params module.
authorPawel Solyga <Pawel.Solyga@gmail.com>
Wed, 04 Mar 2009 17:31:39 +0000
changeset 1630 850c08c90345
parent 1629 9ef5ff7a6d8f
child 1631 25ec972b5aa2
Fix too long lines in soc.views.helper.params module. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
app/soc/views/helper/params.py
--- a/app/soc/views/helper/params.py	Wed Mar 04 17:30:22 2009 +0000
+++ b/app/soc/views/helper/params.py	Wed Mar 04 17:31:39 2009 +0000
@@ -168,7 +168,8 @@
   if not params.get('no_admin'):
     new_params['django_patterns_defaults'] += [
         (r'^%(url_name)s/(?P<access_type>admin)/%(key_fields)s$',
-          'soc.views.models.%(module_name)s.admin', 'Show %(name_short)s (admin)')]
+          'soc.views.models.%(module_name)s.admin', 
+          'Show %(name_short)s (admin)')]
 
   if not params.get('no_create_raw'):
     new_params['django_patterns_defaults'] += [
@@ -213,7 +214,8 @@
   if params.get('sans_link_id_public_list'):
     new_params['django_patterns_defaults'] += [
         (r'^%(url_name)s/(?P<access_type>list_public)/%(sans_link_id)s$',
-         'soc.views.models.%(module_name)s.list_public', 'List %(name_plural)s')]
+         'soc.views.models.%(module_name)s.list_public', 
+         'List %(name_plural)s')]
 
   new_params['public_template'] = 'soc/%(module_name)s/public.html' % params
   new_params['export_template'] = 'soc/%(module_name)s/export.html' % params