Changeset 1858
- Timestamp:
- 7 Jun 2007, 19:26:13 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/add_course_result.py
r1852 r1858 30 30 aq_portal = context.portal_catalog_real.evalAdvancedQuery 31 31 course_id = request.get('course_id') 32 33 32 mtool = context.portal_membership 34 33 member = mtool.getAuthenticatedMember() … … 39 38 err = '' 40 39 while True: 40 if not course_id: 41 err = "Empty course id!" 42 break 41 43 if d['title'] == 'unknown': 42 44 err = "No such course!"
Note: See TracChangeset for help on using the changeset viewer.