Changeset 2062
- Timestamp:
- 26 Jul 2007, 20:58:59 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_utilities/ti_167_resolve.py
r2061 r2062 50 50 count = 0 51 51 no_cost = 0 52 commit_after = 100 52 53 for payment in payments: 53 54 if payment.Title.find('n/a') > -1: … … 65 66 logger.info("Prefix %s (%s) not found" % (prefix_batch,payment_doc.order_id)) 66 67 no_cost +=1 67 if count and not count % 100:68 if count and not count % commit_after: 68 69 context.waeup_tool.doCommit() 69 logger.info("Committing %s transactions, total %s" % (commit_ count,count))70 logger.info("Committing %s transactions, total %s" % (commit_after,count)) 70 71 logger.info("updated %d payment amounts, %d costs not found" % (count,no_cost)) 71 72
Note: See TracChangeset for help on using the changeset viewer.