[Spambayes] dbm on windows, hopefully for the last time
Neale Pickett
neale at woozle.org
Tue Dec 3 17:22:39 2002
So then, Neale Pickett <neale@woozle.org> is all like:
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ dbmstorage.py 3 Dec 2002 17:13:20 -0000
> @@ -0,0 +1,53 @@
> +"""Wrapper to open an appropriate dbm storage type."""
> +
> +from Options import options
dbmstorage.py will, of course, also import sys :)
> + if sys.platform == "win32":
> + funcs = [open_db3hash, open_gdbm, open_dumbdbm]
> + else:
> + funcs = [open_db3hash, open_dbhash, open_gdbm, open_dumbdbm]
More information about the Spambayes
mailing list