Fixed bug where grade_decision would not be properly set in 2 out of 4 cases.
--- a/app/soc/logic/models/grading_record.py Mon Jul 13 11:43:40 2009 +0200
+++ b/app/soc/logic/models/grading_record.py Mon Jul 13 10:18:14 2009 +0200
@@ -134,7 +134,8 @@
else:
# no ProjectSurveyRecord on file while there is a survey to be taken
grade_decision = 'fail'
- fields['grade_decision'] = grade_decision
+
+ fields['grade_decision'] = grade_decision
# return the fields that should be set for a GradingRecord
return fields