Changeset 2061 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
26 Jul 2007, 20:57:08 (17 years ago)
Author:
joachim
Message:

add commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_utilities/ti_167_resolve.py

    r2060 r2061  
    6565            logger.info("Prefix %s (%s) not found" % (prefix_batch,payment_doc.order_id))
    6666            no_cost +=1
     67    if count and not count % 100:
     68        context.waeup_tool.doCommit()
     69        logger.info("Committing %s transactions, total %s" % (commit_count,count))
    6770logger.info("updated %d payment amounts, %d costs not found" % (count,no_cost))
    6871
Note: See TracChangeset for help on using the changeset viewer.