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

SourceForge.net noreply at sourceforge.net
Fri Jan 21 05:35:28 CET 2005


Bugs item #1106457, was opened at 2005-01-21 16:22
Message generated for change (Comment added) made by anadelonbrin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1106457&group_id=61702

>Category: None
Group: Source code - CVS
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Leonid (leobru)
>Assigned to: Tony Meyer (anadelonbrin)
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,


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

>Comment By: Tony Meyer (anadelonbrin)
Date: 2005-01-21 17:35

Message:
Logged In: YES 
user_id=552329

Thanks; fixed in dbmstorage.py r1.13

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

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