[Spambayes] [ spambayes-Bugs-695187 ] mboxtrain.py and dbExpImp.py not Python 2.2 compatible

SourceForge.net noreply at sourceforge.net
Fri Feb 28 10:12:56 EST 2003


Bugs item #695187, was opened at 2003-02-28 11:45
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=695187&group_id=61702

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: David Shaw (dshaw)
>Assigned to: Tim Stone (timstone4)
Summary: mboxtrain.py and dbExpImp.py not Python 2.2 compatible

Initial Comment:
Both mboxtrain.py and dbExpImp.py lack the following compatibility statements that let them work in Python 2.2.  Other files seem to have them, so these two should as well.

try:
    True, False
except NameError:
    # Maintain compatibility with Python 2.2
    True, False = 1, 0

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

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



More information about the Spambayes mailing list