# HG changeset patch # User Todd Larsen # Date 1222837362 0 # Node ID 7741d6b7ce7cafa64536fc3c157c7adb97dc2c60 # Parent e2782aacfec7865708f6893ad3a61e134eb8cf07 Fix some style guide issues: keyword arguments are supposed to always be supplied using the keyword argument name=value. http://code.google.com/p/soc/wiki/PythonStyleGuide#Default_Argument_Values diff -r e2782aacfec7 -r 7741d6b7ce7c app/soc/views/site/user/list.py --- a/app/soc/views/site/user/list.py Wed Oct 01 02:23:30 2008 +0000 +++ b/app/soc/views/site/user/list.py Wed Oct 01 05:02:42 2008 +0000 @@ -45,17 +45,18 @@ offset = request.GET.get('offset') limit = request.GET.get('limit') - offset, limit = list_helpers.getListParemeters(offset, limit) + offset, limit = list_helpers.getListParemeters(offset=offset, limit=limit) - users = id_user.getUsersForOffsetAndLimit(offset, limit) + users = id_user.getUsersForOffsetAndLimit(offset=offset, limit=limit) list_templates = {'list_main': 'soc/list/list_main.html', 'list_pagination': 'soc/list/list_pagination.html', 'list_row': 'soc/site/user/list/user_row.html', 'list_heading': 'soc/site/user/list/user_heading.html'} - context = list_helpers.setList(request, context, users, - offset, limit, list_templates) + context = list_helpers.setList( + request, context, users, + offset=offset, limit=limit, list_templates=list_templates) return response_helpers.respond(request, template, context) \ No newline at end of file