Style fixing in GradeRecord model
authorLennard de Rijk <ljvderijk@gmail.com>
Wed, 08 Jul 2009 10:45:49 +0200
changeset 2571 dac91fecae38
parent 2570 851640749319
child 2572 1ad6d986be6d
Style fixing in GradeRecord model
app/soc/models/grading_record.py
--- a/app/soc/models/grading_record.py	Wed Jul 08 10:40:46 2009 +0200
+++ b/app/soc/models/grading_record.py	Wed Jul 08 10:45:49 2009 +0200
@@ -70,9 +70,8 @@
       collection_name='student_grading_records')
 
   #: Project for this evaluation.
-  project = db.ReferenceProperty(StudentProject,
-                                collection_name='grading_records',
-                                required=True)
+  project = db.ReferenceProperty(
+      StudentProject, required=True, collection_name='grading_records')
 
   #: Grade decision set for this grading record.
   #: pass: Iff the mentor_record states that the student has passed. 
@@ -85,7 +84,7 @@
   #:       set the decision will be fail.
   #: undecided: If no mentor_record has been set.
   grade_decision = db.StringProperty(required=True, default='undecided',
-      choices=['pass', 'fail', 'undecided'])
+                                     choices=['pass', 'fail', 'undecided'])
 
   #: Boolean that states if the grade_decision property has been locked
   #: This is to prevent an automatic update from a GradingSurveyGroup to