Changeset 2727 for WAeUP_SRP/base/skins/waeup_student
- Timestamp:
- 21 Nov 2007, 14:12:30 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_student/admitStudents.py
r2671 r2727 52 52 context.waeup_tool.doCommit() 53 53 logger.info("Committing %s transactions, total %s" % (commit_after,count)) 54 # cocount += 155 # if cocount > 1:56 # break54 # cocount += 1 55 # if cocount > 1: 56 # break 57 57 brain = aq_applicants(Eq('reg_no',reg_no))[0] 58 58 #logger.info("start creating objects of student %s" % (brain.reg_no)) … … 64 64 admitted += 1 65 65 else: 66 logger.info("could not create objects of student %s with pin " % (reg_no,brain.pin))66 logger.info("could not create objects of student %s with pin %s" % (reg_no,brain.pin)) 67 67 68 68 msg = "finished admitting %d students" % (admitted)
Note: See TracChangeset for help on using the changeset viewer.