- Timestamp:
- 19 Mar 2007, 21:45:44 (18 years ago)
- 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" 2 2 ##bind container=container 3 3 ##bind context=context … … 13 13 """ 14 14 import logging 15 logger = logging.getLogger(' removeResults2')15 logger = logging.getLogger('Skins.removeResults2') 16 16 17 17 request = REQUEST … … 43 43 to_del.append(r.key) 44 44 rwrite(r.matric_no + " " + r.Level +" " + r.CosCode + "<br />") 45 logger.info(' "%s", "start to delete %s results"' % (member,len(to_del)))45 logger.info('%s starts to delete %s results' % (member,len(to_del))) 46 46 for uid in to_del: 47 47 rcat.deleteRecord(uid) 48 logger.info(' "%s", "finished with deletion of %s results"' % (member,len(to_del)))48 logger.info('%s finished deletion of %s results' % (member,len(to_del))) 49 49 rwrite("Done") 50 50
Note: See TracChangeset for help on using the changeset viewer.