Rename unused loop variable to _ in soc.views.models.user_self module.
authorPawel Solyga <Pawel.Solyga@gmail.com>
Wed, 04 Mar 2009 20:47:34 +0000
changeset 1647 8bbe06730867
parent 1646 42b8e294792e
child 1648 11c74138c56d
Rename unused loop variable to _ in soc.views.models.user_self module. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
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