- Timestamp:
- 9 May 2007, 04:39:06 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_utilities/setCurrentSession.py
r1759 r1760 13 13 """ 14 14 import logging 15 logger = logging.getLogger('Skins.set _current_session')15 logger = logging.getLogger('Skins.setCurrentSession') 16 16 17 17 request = REQUEST … … 43 43 count = 0 44 44 not_count = 0 45 not_count2 = 0 45 46 #set_trace() 46 47 for student in all: 47 48 c += 1 48 49 if c > 1000: 49 logger.info('%s set %d not_found %d ' % (member,count,not_count))50 logger.info('%s set %d, not found %d, session fields already set %d' % (member,count,not_count,not_count2)) 50 51 c = 0 51 52 context.waeup_tool.doCommit() … … 61 62 not_count += 1 62 63 #rwrite("%s/study_course not found" % student.id) 64 else: 65 not_count2 +=1 63 66 64 67 logger.info('%s finished to set %d of %d ' % (member,count,len(all)))
Note: See TracChangeset for help on using the changeset viewer.