app/soc/views/models/user_self.py
changeset 1647 8bbe06730867
parent 1634 85bbf50038b8
child 1667 95bc81b4cd5c
equal deleted inserted replaced
1646:42b8e294792e 1647:8bbe06730867
   242 
   242 
   243     contents = []
   243     contents = []
   244 
   244 
   245     i = 0
   245     i = 0
   246 
   246 
   247     for name, loop_view in sorted(role_view.ROLE_VIEWS.iteritems()):
   247     for _, loop_view in sorted(role_view.ROLE_VIEWS.iteritems()):
   248       list_params = loop_view.getParams().copy()
   248       list_params = loop_view.getParams().copy()
   249       list_params['list_action'] = (redirects.getEditRedirect, list_params)
   249       list_params['list_action'] = (redirects.getEditRedirect, list_params)
   250       list_params['list_description'] = self.DEF_ROLE_LIST_MSG_FMT % list_params
   250       list_params['list_description'] = self.DEF_ROLE_LIST_MSG_FMT % list_params
   251 
   251 
   252       list = helper.lists.getListContent(request, list_params, filter, i, True)
   252       list = helper.lists.getListContent(request, list_params, filter, i, True)