Changeset 1494 for WAeUP_SRP/trunk/skins/waeup_student/getStudyLevelInfo.py
- Timestamp:
- 26 Feb 2007, 09:16:06 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/getStudyLevelInfo.py
r1482 r1494 12 12 return Info about the Studylevel 13 13 """ 14 try: 15 from Products.zdb import set_trace 16 except: 17 def set_trace(): 18 pass 14 19 from Products.AdvancedQuery import Eq, Between, Le,In 15 evalAdvancedQuery= context.portal_catalog.evalAdvancedQuery20 aq_portal = context.portal_catalog.evalAdvancedQuery 16 21 request = context.REQUEST 17 22 session = request.SESSION … … 66 71 if id.endswith('_co'): 67 72 d = context.getCourseInfo(id[:-3]) 73 d['id'] = id 68 74 d['grade'] = obj.getContent().grade 69 75 carry_overs.append(d) 70 76 else: 71 77 d = context.getCourseInfo(id) 78 d['id'] = id 72 79 coe = obj.getContent().core_or_elective 73 80 d['coe'] = 'Core'
Note: See TracChangeset for help on using the changeset viewer.