[Spambayes] Missing 2.0 compatibility lines in storage.py

FrançoisGranger francois.granger at free.fr
Sun Dec 29 13:46:57 EST 2002


At 00:41 +0100 on 29/12/2002, in message [Spambayes] Missing 2.0 
compatibility lines in storage., François Granger wrote:
>Just added these cutted and pasted lines at the biggining of the file:
>
>try:
>     True, False, bool
>except NameError:
>     # Maintain compatibility with Python 2.2
>     True, False = 1, 0
>     def bool(val):
>         return not not val

Same for Coprus and Hammiebulk.

--
Recently using MacOSX.......



More information about the Spambayes mailing list