app/soc/views/models/project_survey.py
changeset 2499 62e8f6e45d9a
parent 2498 fd51f2159bff
child 2508 17caa9f1c683
--- 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'])