[Spambayes-checkins] spambayes/spambayes dbmstorage.py,1.3,1.4
Mark Hammond
mhammond at users.sourceforge.net
Tue Feb 25 21:12:42 EST 2003
Update of /cvsroot/spambayes/spambayes/spambayes
In directory sc8-pr-cvs1:/tmp/cvs-serv1668
Modified Files:
dbmstorage.py
Log Message:
Python 2.2 and earlier ended up trying bsddb3 twice if it fails.
Index: dbmstorage.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/spambayes/dbmstorage.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** dbmstorage.py 3 Feb 2003 22:46:26 -0000 1.3
--- dbmstorage.py 26 Feb 2003 05:12:40 -0000 1.4
***************
*** 35,40 ****
if sys.version_info >= (2,3):
funcs.insert(0, open_dbhash)
- else:
- funcs.insert(0, open_db3hash)
else:
funcs = [open_db3hash, open_dbhash, open_gdbm, open_dumbdbm]
--- 35,38 ----
More information about the Spambayes-checkins
mailing list