Changeset 1648 for WAeUP_SRP/trunk/skins
- Timestamp:
- 27 Mar 2007, 09:15:46 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/add_course_result.py
r1606 r1648 38 38 if d['title'] == 'unknown': 39 39 err = "No such course!" 40 logger.info('%s tried to add StudentCourseResult object %s for non-existing course' % (member,course_id))40 #logger.info('%s tried to add StudentCourseResult object %s for non-existing course' % (member,course_id)) 41 41 break 42 42 if context.hasObject(course_id): 43 43 err = "Course already exists!" 44 logger.info('%s tried to add StudentCourseResult object %s which is already in course list' % (member,course_id))44 #logger.info('%s tried to add StudentCourseResult object %s which is already in course list' % (member,course_id)) 45 45 break 46 46 if context.hasObject("%s_co" % course_id): 47 47 err = "Course already exists as carryover course!" 48 logger.info('%s tried to add StudentCourseResult object %s which already exists as carryover course' % (member,course_id))48 #logger.info('%s tried to add StudentCourseResult object %s which already exists as carryover course' % (member,course_id)) 49 49 break 50 50 break
Note: See TracChangeset for help on using the changeset viewer.