Changeset 55 for emailtotracscript/trunk/delete_spam.py.in
- Timestamp:
- 02/17/06 16:29:38 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
emailtotracscript/trunk/delete_spam.py.in
r22 r55 86 86 if debug: 87 87 print 'delete %s : %s' %(spam_id, attachment_dir) 88 shutil.rmtree(attachment_dir) 88 try: 89 shutil.rmtree(attachment_dir) 90 except OSError, detail: 91 print 'Contact system-administrator: %s' %detail 92 continue 89 93 90 94 cursor.execute("DELETE FROM ticket WHERE component = 'Spam';")
Note: See TracChangeset
for help on using the changeset viewer.