[spambayes-dev] Re: [Spambayes] Error from pop3proxy
Richie Hindle
richie at entrian.com
Thu Oct 9 03:58:45 EDT 2003
[Tony]
> Richie - you get the messageinfo one corrupted, right? If you added:
> """
> def __del__(self):
> # Close our underlying database. Better not assume all
> databases
> # have close functions!
> def noop(): pass
> getattr(self.db, "close", noop)()
> getattr(self.dbm, "close", noop)()
> """
> to the MessageInfoDB class in message.py, would that help? I don't
> think that the message info is actually explicitly closed anywhere
> (although it should always be in sync), and maybe it should.
Will do, but I don't get corruptions often (haven't had one for a few
weeks now) so I can't be sure whether it's helped.
--
Richie Hindle
richie at entrian.com
More information about the spambayes-dev
mailing list