Changeset 3258


Ignore:
Timestamp:
29 Feb 2008, 09:44:47 (17 years ago)
Author:
Henrik Bettermann
Message:

improve logging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_utilities/ti_493_resolve.py

    r3257 r3258  
    4343portal_payments = aq_portal(Eq('portal_type','Payment'))
    4444sc_payments = aq_payments(Eq('type','sc'))
    45 logger.info('found %d payments %d SC' % (len(portal_payments),len(sc_payments)))
    46 student_ids = [r.student_id for r in sc_payments] 
     45logger.info('found %d payments, %d SC payments' % (len(portal_payments),len(sc_payments)))
     46student_ids = [r.student_id for r in sc_payments]
    4747count = 0
    4848found = 0
     
    5757            continue
    5858        found += 1
    59         logger.info("%d of %d: editing %s with %s/%s to %s" % (found,count,
     59        logger.info("%d of %d: editing payment of %s, %s, %s, session_id from %s to %s" % (found,count,
    6060                                                               student_id,
     61                                                               doc.date,
    6162                                                               doc.type_description,
    6263                                                               doc.session_id,
Note: See TracChangeset for help on using the changeset viewer.