Changeset 2091 for WAeUP_SRP/trunk/skins
- Timestamp:
- 6 Aug 2007, 20:43:13 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/register_courses.py
r2032 r2091 32 32 student_id = context.getStudentId() 33 33 student = getattr(students_folder,student_id) 34 35 try: 36 wftool.doActionFor(student,'register_courses') 37 except WorkflowException,E: 38 logger.info('%s WorkflowException %s for %s' % (member_id,E,student_id)) 39 return request.RESPONSE.redirect("%s" % context.absolute_url()) 40 34 41 try: 35 42 wftool.doActionFor(context,'close') … … 38 45 #return request.RESPONSE.redirect("%s" % context.absolute_url()) 39 46 pass 40 try: 41 wftool.doActionFor(student,'register_courses') 42 except WorkflowException,E: 43 logger.info('%s WorkflowException %s for %s' % (member_id,E,student_id)) 44 return request.RESPONSE.redirect("%s" % context.absolute_url()) 47 45 48 logger.info('%s registered course list of %s' % (member_id,student_id)) 46 47 49 args = {} 48 50 psm = "You successfully submitted your course list!"
Note: See TracChangeset for help on using the changeset viewer.