Changeset 1459
- Timestamp:
- 21 Feb 2007, 17:18:32 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_utilities/fixLevelFromResults.py
r1434 r1459 60 60 verdict = "") 61 61 while True: 62 student = getattr(students,sbrain.id,None)63 62 ec = "nos" 64 if student is None:63 if not students.hasObject(sbrain.id): 65 64 break 65 student = getattr(students,sbrain.id) 66 66 ec = "nyr" 67 study_course = getattr(student,"study_course", None) 68 if study_course is None: 67 if not student.hasObject("study_course"): 69 68 break 69 study_course = getattr(student,"study_course") 70 70 study_course.getContent().edit(mapping = {'current_level':level, 71 71 'current_verdict':verdict})
Note: See TracChangeset for help on using the changeset viewer.