Index: /WAeUP_SRP/trunk/skins/waeup_utilities/ti_167_resolve.py
===================================================================
--- /WAeUP_SRP/trunk/skins/waeup_utilities/ti_167_resolve.py	(revision 2061)
+++ /WAeUP_SRP/trunk/skins/waeup_utilities/ti_167_resolve.py	(revision 2062)
@@ -50,4 +50,5 @@
 count = 0
 no_cost = 0
+commit_after = 100
 for payment in payments:
     if payment.Title.find('n/a') > -1:
@@ -65,7 +66,7 @@
             logger.info("Prefix %s (%s) not found" % (prefix_batch,payment_doc.order_id))
             no_cost +=1
-    if count and not count % 100:
+    if count and not count % commit_after:
         context.waeup_tool.doCommit()
-        logger.info("Committing %s transactions, total %s" % (commit_count,count))
+        logger.info("Committing %s transactions, total %s" % (commit_after,count))
 logger.info("updated %d payment amounts, %d costs not found" % (count,no_cost))
 
