[ZODB-Dev] repozo delete_old_backups

2010-09-17 Thread DJL
repozo delete_old_backups does not delete old index files ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev

Re: [ZODB-Dev] repozo delete_old_backups

2010-09-17 Thread DJL
sugest to add the lines like this: def delete_old_backups(options): # Delete all full backup files except for the most recent full backup file all = filter(is_data_file, os.listdir(options.repository)) all.sort() deletable = [] full = [] for fname in all: root, ext

Re: [ZODB-Dev] repozo delete_old_backups

2010-09-17 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 DJL wrote: > repozo delete_old_backups does not delete old index files Thanks for noticing this issue. I have updated the script and tests to cover this case on the trunk. Tres. - -- =