[Spambayes] read-only DBDict in hammie?
Thu Nov 14 22:04:29 2002
>>> I'd like to share the anydbm file between several accounts on my
>>> machine. Before I fiddle hammie.py so it opens the file in
>>> read-only mode, is there any reason when classifying (not training)
>>> it actually needs to update the file?
Tim> I'm using the DBDict class in hammie for doing training with the
Tim> pop3proxy. Can we make a read-only option, rather than making it
Tim> always open for read?
Yes, that was my intent. When you run hammie with the -g or -s flags it's
opened for writing, but opened for reading otherwise. There is a new mode
argument to the DBDict constructor. I suppose I should have defaulted it to
More information about the Spambayes