[spambayes-bugs] [ spambayes-Bugs-1106457 ] bsddb185 has to be covered in dbmstorage.py

SourceForge.net noreply at sourceforge.net
Fri Jan 21 04:22:23 CET 2005


Bugs item #1106457, was opened at 2005-01-20 19:22
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1106457&group_id=61702

Category: hammie
Group: Source code - CVS
Status: Open
Resolution: None
Priority: 5
Submitted By: Leonid (leobru)
Assigned to: Nobody/Anonymous (nobody)
Summary: bsddb185 has to be covered in dbmstorage.py

Initial Comment:
In python2.3 at least under FreeBSD whichdb can return
"bsddb185".
This dbm type has to be covered in open_funcs, lest the
infamous "NoneType' object has no attribute 'spamprob'"
occurs:

def open_db185hash(*args):
    """Open a bsddb185 hash."""
    import bsddb185
    return bsddb185.hashopen(*args)

and in open_funcs:

    "bsddb185": open_db185hash,


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1106457&group_id=61702


More information about the Spambayes-bugs mailing list