Rename unused loop variable to _ in soc.views.models.user_self module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
--- 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