[ZODB-Dev] Re: [Zope-Checkins] CVS: ZODB3/ZODB/FileStorage -
fspack.py:1.3
Chris Withers
chris at simplistix.co.uk
Mon Jan 19 03:35:57 EST 2004
Toby Dickenson wrote:
>>+ raise FileStorageError(
>>+ "The database has already been packed to a later time"
>>+ " or no changes have been made since the last pack")
>
>
> In the past Ive found it counterproductive for applications to have to deal
> with this exception.
>
> If we want to leave FileStorage raising an exception in this case, perhaps
> DB.pack could catch and swallow a RedundantPackError?
I'd totally agree with this.
I have an app which actually has to check for that value to make sure it can
safely be ignored, as opposed to other types of FileStorageError, which can't...
cheers,
Chris
More information about the ZODB-Dev
mailing list