Changeset 14337 for main/waeup.kofa/trunk/src/waeup
- Timestamp:
- 12 Dec 2016, 17:38:18 (8 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/batching.py
r14213 r14337 585 585 if studycourse is None: 586 586 return None 587 return studycourse.get(str(row['level'])) 587 try: 588 entry = studycourse.get(str(row['level'])) 589 except KeyError: 590 return None 591 return entry 588 592 589 593 def delEntry(self, row, site): -
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/level_report.py
r14326 r14337 62 62 # This is a very special column requested by AAUE, Nigeria. 63 63 # The 'remark' column remains empty in base package. 64 remark = getattr(level_obj, 'remark', None)64 remark = getattr(level_obj, 'remark', '') 65 65 line = ( 66 66 #stud.student_id, -
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/tests/test_level_report.py
r14124 r14337 42 42 self.assertEqual(result, 43 43 [(u'1234', u'Bob Tester', 90, 30, 1.667, 'm_Course2_m Course3', 44 90, 30, 1.667, None)])44 90, 30, 1.667, '')]) 45 45 return 46 46
Note: See TracChangeset for help on using the changeset viewer.