Changeset 2737
- Timestamp:
- 22 Nov 2007, 09:53:21 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_utilities/moveCourseResults.py
r2736 r2737 27 27 logger = logging.getLogger('Skins.moveCourseResults') 28 28 from Products.AdvancedQuery import Eq, Between, Le,In 29 aq_results = context.course_results.evalAdvancedQuery 29 aq_results = context.course_results.evalAdvancedQuery 30 30 aq_students = context.students_catalog.evalAdvancedQuery 31 31 students = context.portal_url.getPortalObject().campus.students … … 40 40 #logger.info('') 41 41 42 brains = aq_students(In('review_state',(' courses_registered','courses_validated')))42 brains = aq_students(In('review_state',('school_fee_paid','courses_registered','courses_validated'))) 43 43 total = len(brains) 44 44 logger.info("found %d students" % (total)) … … 61 61 continue 62 62 if not results: 63 if not count % 100: 64 logger.info("%s students searched" % (count)) 63 65 continue 64 66 #rwrite('no result objects in %s/study_course/%s' % (brain.id,brain.level))
Note: See TracChangeset for help on using the changeset viewer.