Changeset 5144 for WAeUP_SRP/trunk/skins/waeup_student
- Timestamp:
- 13 Apr 2010, 07:27:13 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/refresh_level.py
r3074 r5144 45 45 level = context 46 46 level_id = context.getId() 47 session_id = context.getLevelSession(level.getContent(),student_id,level_id) 47 48 res = context.portal_catalog(portal_type="Certificate", id = cert_id) 48 49 query = Eq('student_id',student_id) & Eq('level_id', level_id) … … 73 74 d['student_id'] = student_id 74 75 d['level_id'] = level_id 76 d['session_id'] = session_id 75 77 d['key'] = "%s|%s|%s" % (student_id,level_id,course_id) 76 78 records.append(d) … … 79 81 80 82 #session.set('in_progress','finished') 81 logger.info('%s updated course list' % member)83 logger.info('%s updated level %s of %s' % (member,level_id,student_id)) 82 84 83 85 args = {}
Note: See TracChangeset for help on using the changeset viewer.