Changeset 7533 for main/waeup.sirp/trunk/src/waeup/sirp/students
- Timestamp:
- 28 Jan 2012, 14:27:06 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/studycourse.py
r7304 r7533 50 50 51 51 #Create course tickets automatically 52 for key, val in cert.items(): 53 if val.level != studylevel.level: 54 continue 55 ticket = CourseTicket() 56 ticket.code = val.getCourseCode() 57 ticket.automatic = True 58 ticket.core_or_elective = val.core_or_elective 59 ticket.title = val.course.title 60 ticket.faculty = val.course.__parent__.__parent__.__parent__.title 61 ticket.department = val.course.__parent__.__parent__.title 62 ticket.fcode = val.course.__parent__.__parent__.__parent__.code 63 ticket.dcode = val.course.__parent__.__parent__.code 64 ticket.credits = val.course.credits 65 ticket.passmark = val.course.passmark 66 ticket.semester = val.course.semester 67 self[str(studylevel.level)][val.getCourseCode()] = ticket 52 if cert is not None: 53 for key, val in cert.items(): 54 if val.level != studylevel.level: 55 continue 56 ticket = CourseTicket() 57 ticket.code = val.getCourseCode() 58 ticket.automatic = True 59 ticket.core_or_elective = val.core_or_elective 60 ticket.title = val.course.title 61 ticket.faculty = val.course.__parent__.__parent__.__parent__.title 62 ticket.department = val.course.__parent__.__parent__.title 63 ticket.fcode = val.course.__parent__.__parent__.__parent__.code 64 ticket.dcode = val.course.__parent__.__parent__.code 65 ticket.credits = val.course.credits 66 ticket.passmark = val.course.passmark 67 ticket.semester = val.course.semester 68 self[str(studylevel.level)][val.getCourseCode()] = ticket 68 69 return 69 70
Note: See TracChangeset for help on using the changeset viewer.