[Spambayes-checkins] spambayes/spambayes dbmstorage.py,1.12,1.13

Tony Meyer anadelonbrin at users.sourceforge.net
Fri Jan 21 05:34:39 CET 2005


Update of /cvsroot/spambayes/spambayes/spambayes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2687/spambayes

Modified Files:
	dbmstorage.py 
Log Message:
Fix [ 1106457 ] bsddb185 has to be covered in dbmstorage.py

Index: dbmstorage.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/spambayes/dbmstorage.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** dbmstorage.py	7 Jan 2005 19:58:37 -0000	1.12
--- dbmstorage.py	21 Jan 2005 04:34:24 -0000	1.13
***************
*** 23,26 ****
--- 23,32 ----
      return bsddb.hashopen(*args)
  
+ def open_db185hash(*args):
+     """Open a bsddb185 hash."""
+     # See [ 1106457 ] bsddb185 has to be covered in dbmstorage.py
+     import bsddb185
+     return bsddb185.hashopen(*args)
+ 
  def open_gdbm(*args):
      """Open a gdbm database."""
***************
*** 48,51 ****
--- 54,58 ----
      "db3hash": open_db3hash,
      "dbhash": open_dbhash,
+     "bsddb185": open_db185hash,
      "gdbm": open_gdbm,
      }



More information about the Spambayes-checkins mailing list