Changeset 2485 for WAeUP_SRP/base/skins/waeup_utilities
- Timestamp:
- 30 Oct 2007, 23:56:17 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_utilities/fix06Verdict.py
r2478 r2485 47 47 try: 48 48 study_course_doc = getattr(getattr(students,brain.id),'study_course').getContent() 49 verdict = study_course_doc.current_verdict 49 50 # final fix 51 if brain.matric_no: 52 verdict = study_course_doc.current_verdict 53 else: 54 verdict = '' 50 55 study_course_doc.edit(mapping = { "current_verdict": '', 51 56 "previous_verdict": verdict}) 52 #rwrite('found %s , %s ,%s, %s' % (brain.id, 53 # study_course_doc.current_session, 54 # brain.matric_no, 55 # brain.name)) 57 58 # Info: The logging message is wrong if not matric_no 56 59 logger.info("Current verdict of %s (%s, %s, %s, %s) moved to previous verdict" % (brain.id, 57 60 brain.matric_no,
Note: See TracChangeset for help on using the changeset viewer.