Changeset 2781
- Timestamp:
- 27 Nov 2007, 00:12:57 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/WAeUPTables.py
r2780 r2781 1324 1324 for brain in course_results: 1325 1325 d = {} 1326 1326 1327 1327 for field in self.schema(): 1328 1328 d[field] = getattr(brain,field,'') … … 1339 1339 score = int(score) 1340 1340 grade,weight = self.getGradesFromScore(score) 1341 if weight: 1342 gpa += weight * credits 1343 d['weight'] = weight 1344 d['grade'] = grade 1345 d['score'] = score 1341 gpa += weight * credits 1342 d['weight'] = weight 1343 d['grade'] = grade 1344 d['score'] = score 1346 1345 d['coe'] = '' 1347 1346 if brain.core_or_elective:
Note: See TracChangeset for help on using the changeset viewer.