Fix too long lines and remove unused variables in soc.views.models.role module.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
--- a/app/soc/views/models/role.py Wed Mar 04 21:19:07 2009 +0000
+++ b/app/soc/views/models/role.py Wed Mar 04 21:19:49 2009 +0000
@@ -543,9 +543,10 @@
key_name = request_logic.logic.getKeyNameFromFields(request_fields)
# create the request entity
- entity = request_logic.logic.updateOrCreateFromKeyName(request_fields, key_name)
+ request_logic.logic.updateOrCreateFromKeyName(request_fields, key_name)
- # TODO(ljvderijk) send out a message to alert the users able to process this request
+ # TODO(ljvderijk): send out a message to alert the users
+ # able to process this request
# redirect to roles overview
return http.HttpResponseRedirect('/user/roles')