- Timestamp:
- 3 Nov 2007, 07:34:33 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_utilities/moveCourseResults.py
r2507 r2508 34 34 response = request.RESPONSE 35 35 setheader = request.RESPONSE.setHeader 36 def rwrite(s):37 response.setHeader('Content-type','text/html; charset=ISO-8859-15')38 response.write("%s<br>\n\r" % s)36 #def rwrite(s): 37 # response.setHeader('Content-type','text/html; charset=ISO-8859-15') 38 # response.write("%s<br>\n\r" % s) 39 39 40 40 #logger.info('') … … 64 64 results = study_level.objectIds() 65 65 except: 66 rwrite('not found %s/study_course/%s' % (brain.id,brain.level))66 #rwrite('not found %s/study_course/%s' % (brain.id,brain.level)) 67 67 continue 68 68 if not results: 69 rwrite('no result objects in %s/study_course/%s' % (brain.id,brain.level)) 69 pass 70 #rwrite('no result objects in %s/study_course/%s' % (brain.id,brain.level)) 70 71 else: 71 72 logger.info("moving results of student %s" % (brain.id)) … … 75 76 msg = "finished moving results of %d students" % (moved) 76 77 logger.info(msg) 77 rwrite(msg)78 #rwrite(msg) 78 79 80
Note: See TracChangeset for help on using the changeset viewer.