# HG changeset patch # User Pawel Solyga # Date 1227377758 0 # Node ID 8c6f80ab34e5da71eb06ba9c23ea6e658b5f14fe # Parent c6d9f85817308a3f0c7ec463a0e48fcc0f0e551a Fix wrong comment format in request.py. Patch by: Pawel Solyga diff -r c6d9f8581730 -r 8c6f80ab34e5 app/soc/views/models/request.py --- a/app/soc/views/models/request.py Sat Nov 22 18:12:00 2008 +0000 +++ b/app/soc/views/models/request.py Sat Nov 22 18:15:58 2008 +0000 @@ -143,24 +143,20 @@ properties = {'account': users.get_current_user()} user_entity = user_logic.logic.getForFields(properties, unique=True) - ###### - # Construct the Unhandled Request list - ###### + # TODO(ljvderijk): Construct the Unhandled Request list # only select the requests for this user that haven't been handled yet filter = {'requester': user_entity, 'accepted' : True, 'declined' : False} - # TODO(SRabbelier) make into a usefull redirect + # TODO(SRabbelier): make into a usefull redirect # params['list_action'] = '/host/create' params['list_description'] = "An overview of your unhandled requests" uh = helper.lists.getListContent(request, params, self._logic, filter) - ###### - # TODO(ljvderijk) Construct the other Request lists here - ###### + # TODO(ljvderijk): Construct the other Request lists here contents = [uh] return self._list(request, params, contents, page_name)