Changeset 2884 for WAeUP_SRP/base/skins
- Timestamp:
- 8 Dec 2007, 15:30:09 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_epayment/purgePayments.py
r2861 r2884 35 35 response = request.RESPONSE 36 36 setheader = request.RESPONSE.setHeader 37 def rwrite(s):38 response.setHeader('Content-type','text/html; charset=ISO-8859-15')39 response.write("%s<br>\n\r" % s)37 #def rwrite(s): 38 # response.setHeader('Content-type','text/html; charset=ISO-8859-15') 39 # response.write("%s<br>\n\r" % s) 40 40 41 41 count = 1 … … 73 73 logger.info("committing %d total %d" % (commit_after,delete_count_student)) 74 74 delete_count_student += 1 75 msg = " %d: found %d payments to remove%d to keep for %s" % (count,75 msg = "(%d) found %d payments to remove, %d to keep for %s" % (count, 76 76 len(to_del), 77 77 student_keep_count, … … 87 87 sid, 88 88 review_state) 89 rwrite( msg)89 #rwrite( msg) 90 90 sid = p_sid 91 91 count += 1 … … 113 113 keep_count += 1 114 114 student_keep_count += 1 115 115 116 116 logger.info("%d of %d to purge %d to keep" % (delete_count,total,keep_count))
Note: See TracChangeset for help on using the changeset viewer.