# HG changeset patch # User Pawel Solyga # Date 1236199654 0 # Node ID 8bbe06730867b12f05b366d3e07392090ee0f974 # Parent 42b8e294792e0b0d42f506e4bae7bde8351da2f9 Rename unused loop variable to _ in soc.views.models.user_self module. Patch by: Pawel Solyga Reviewed by: to-be-reviewed diff -r 42b8e294792e -r 8bbe06730867 app/soc/views/models/user_self.py --- a/app/soc/views/models/user_self.py Wed Mar 04 19:31:21 2009 +0000 +++ b/app/soc/views/models/user_self.py Wed Mar 04 20:47:34 2009 +0000 @@ -244,7 +244,7 @@ i = 0 - for name, loop_view in sorted(role_view.ROLE_VIEWS.iteritems()): + for _, loop_view in sorted(role_view.ROLE_VIEWS.iteritems()): list_params = loop_view.getParams().copy() list_params['list_action'] = (redirects.getEditRedirect, list_params) list_params['list_description'] = self.DEF_ROLE_LIST_MSG_FMT % list_params