[Spambayes-checkins] spambayes/spambayes Options.py,1.79,1.79.2.1
Tony Meyer
anadelonbrin at users.sourceforge.net
Sun Sep 21 03:01:34 EDT 2003
Update of /cvsroot/spambayes/spambayes/spambayes
In directory sc8-pr-cvs1:/tmp/cvs-serv3538/spambayes
Modified Files:
Tag: release_1_0
Options.py
Log Message:
2.2 compatibility.
Index: Options.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/spambayes/Options.py,v
retrieving revision 1.79
retrieving revision 1.79.2.1
diff -C2 -d -r1.79 -r1.79.2.1
*** Options.py 18 Sep 2003 13:55:11 -0000 1.79
--- Options.py 21 Sep 2003 07:01:32 -0000 1.79.2.1
***************
*** 20,23 ****
--- 20,29 ----
import sys, os
+ try:
+ True, False
+ except NameError:
+ # Maintain compatibility with Python 2.2
+ True, False = 1, 0
+
__all__ = ['options']
More information about the Spambayes-checkins
mailing list