Ignore:
Timestamp:
19 Mar 2007, 21:45:44 (18 years ago)
Author:
joachim
Message:

merged changes from trunk to joachim-event-branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/branches/joachim-event-branch/skins/waeup_utilities/removeResults2.py

    r1508 r1596  
    1 ## Script (Python) "search_pins"
     1## Script (Python) "removeResults2"
    22##bind container=container
    33##bind context=context
     
    1313"""
    1414import logging
    15 logger = logging.getLogger('removeResults2')
     15logger = logging.getLogger('Skins.removeResults2')
    1616
    1717request = REQUEST
     
    4343        to_del.append(r.key)
    4444        rwrite(r.matric_no + " " + r.Level +"  " + r.CosCode + "<br />")
    45 logger.info('"%s", "start to delete %s results"' % (member,len(to_del)))
     45logger.info('%s starts to delete %s results' % (member,len(to_del)))
    4646for uid in to_del:
    4747    rcat.deleteRecord(uid)
    48 logger.info('"%s", "finished with deletion of %s results"' % (member,len(to_del)))
     48logger.info('%s finished deletion of %s results' % (member,len(to_del)))
    4949rwrite("Done")
    5050
Note: See TracChangeset for help on using the changeset viewer.