Changeset 1484
- Timestamp:
- 24 Feb 2007, 06:24:08 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_utilities/fixLevelForNewStudents.py
r1473 r1484 43 43 count = 0 44 44 for sbrain in res: 45 student_obj = getattr(students,sbrain.id) 45 46 if sbrain.entry_mode == "": 46 student_obj = getattr(students,sbrain.id)47 47 if not student_obj.hasObject('application'): 48 48 rwrite("%s %s %s application not found <br />" % (sbrain.id,sbrain.entry_mode,level)) … … 63 63 continue 64 64 student_obj.study_course.getContent().edit(mapping={'current_level': level, 65 'current_verdict': ' na'})65 'current_verdict': 'N/A'}) 66 66 count += 1 67 67 rwrite("%s: %s %s %s <br />" % (count,sbrain.id,entry_mode,level)) 68
Note: See TracChangeset for help on using the changeset viewer.