Changeset 3449 for WAeUP_SRP/base/skins
- Timestamp:
- 18 Apr 2008, 08:08:09 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_utilities/ti_531_resolve.py
r3444 r3449 38 38 found = 0 39 39 not_deleted = 0 40 commit_after = 10040 commit_after = 200 41 41 logger.info('start') 42 42 students = context.students_catalog() … … 47 47 student_id = pume.getPath().split('/')[-2] 48 48 student_object = getattr(students_folder,student_id) 49 if count and not count % commit_after: 50 context.waeup_tool.doCommit() 51 logger.info("commiting %d transaction of %d" % (commit_after,count)) 49 52 try: 50 53 getattr(student_object,manage_delObjects,'')
Note: See TracChangeset for help on using the changeset viewer.