Ignore:
Timestamp:
15 Nov 2007, 22:07:14 (17 years ago)
Author:
Henrik Bettermann
Message:

further modifications for session change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_epayment/dumpSCPayments.py

    r2667 r2670  
    2525import logging
    2626import DateTime
    27 logger = logging.getLogger('Skins.dumpSCPayments.py')
     27logger = logging.getLogger('Skins.dumpSCPayments')
    2828from Products.AdvancedQuery import Eq, Between, Le,In
    2929aq_pins = context.portal_pins.evalAdvancedQuery
     
    4444
    4545used_query = ~Eq('student','') & ~In('prefix_batch',('APP1','APP2','APP3','APP4','APP5',))
    46              
     46
    4747pins = aq_pins(used_query,sortSpecs=('student',))
    4848#set_trace()
     
    8282                #     break
    8383            count += 1
    84         student_id = d['student_id'] = pin.student 
     84        student_id = d['student_id'] = pin.student
    8585        costs = ["%8.2f" % cost_dict[pin.prefix_batch],]
    8686        pins = [pin.pin,]
     
    9494logger.info('%s dumped sc payments to %s' % (member,csv_name))
    9595logger.info("finished for %d students total N %12.2f %12.2f Euros" % (count,sum_total,sum_total/170))
    96    
    97    
     96
     97
Note: See TracChangeset for help on using the changeset viewer.