Changeset 5563
- Timestamp:
- 6 Oct 2010, 21:12:50 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/admitStudents.py
r5562 r5563 19 19 mtool = context.portal_membership 20 20 member = mtool.getAuthenticatedMember() 21 if str(member) not in ('admin', 'joachim'):21 if str(member) not in ('admin',): 22 22 return 23 23 … … 40 40 entry_session = context.getSessionId()[0] 41 41 42 brains = aq_applicants(In('status',('admitted'),) ,Eq('entry_session',entry_session))42 brains = aq_applicants(In('status',('admitted'),) & Eq('entry_session',entry_session)) 43 43 total = len(brains) 44 44 logger.info("found %d students" % (total))
Note: See TracChangeset for help on using the changeset viewer.