diff -r fd51f2159bff -r 62e8f6e45d9a app/soc/views/models/project_survey.py --- a/app/soc/views/models/project_survey.py Fri Jul 03 12:02:57 2009 +0200 +++ b/app/soc/views/models/project_survey.py Fri Jul 03 12:05:23 2009 +0200 @@ -77,10 +77,9 @@ from soc.logic.models.student import logic as student_logic survey_logic = params['logic'] - record_logic = survey_logic.getRecordLogic() try: - entity = self._logic.getFromKeyFieldsOr404(kwargs) + entity = survey_logic.getFromKeyFieldsOr404(kwargs) except out_of_band.Error, error: return responses.errorResponse( error, request, template=params['error_public'])