Changeset 2454 for WAeUP_SRP/base/skins/waeup_utilities
- Timestamp:
- 27 Oct 2007, 21:53:04 (17 years ago)
- Location:
- WAeUP_SRP/base/skins/waeup_utilities
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_utilities/fixReservedBeds.py
r1567 r2454 17 17 students = context.portal_url.getPortalObject().campus.students 18 18 hostels = context.portal_url.getPortalObject().campus.accommodation.objectItems() 19 acco_id = "accommodation_%s" % context.getSessionId() 19 acco_id = "accommodation_%s" % context.getSessionId()[0] 20 20 logger.info('%s starts fixReservedBeds' % (member)) 21 21 #from Products.zdb import set_trace;set_trace() -
WAeUP_SRP/base/skins/waeup_utilities/fixReturningSession.py
r2453 r2454 36 36 brains = aq_students(query) 37 37 total = len(brains) 38 logger.info('editet %d students with session 06 and returning' % total)38 logger.info('editet %d students with session 06 and state returning' % total) 39 39 count = 0 40 40 commit_after = 100 … … 55 55 except: 56 56 rwrite('>>>> not found %s study_course' % (brain.id)) 57 57
Note: See TracChangeset for help on using the changeset viewer.