[Spambayes-checkins] spambayes/spambayes Options.py,1.80,1.81

Tony Meyer anadelonbrin at users.sourceforge.net
Sun Sep 21 03:01:10 EDT 2003


Update of /cvsroot/spambayes/spambayes/spambayes
In directory sc8-pr-cvs1:/tmp/cvs-serv3483/spambayes

Modified Files:
	Options.py 
Log Message:
2.2 compatibility.

Index: Options.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/spambayes/Options.py,v
retrieving revision 1.80
retrieving revision 1.81
diff -C2 -d -r1.80 -r1.81
*** Options.py	19 Sep 2003 23:38:10 -0000	1.80
--- Options.py	21 Sep 2003 07:01:07 -0000	1.81
***************
*** 20,23 ****
--- 20,29 ----
  import sys, os
  
+ try:
+     True, False
+ except NameError:
+     # Maintain compatibility with Python 2.2
+     True, False = 1, 0
+ 
  __all__ = ['options']
  
***************
*** 830,834 ****
       """Number of rows to display per ham/spam/unsure section.""",
       INTEGER, RESTORE),
- 
    ),
  
--- 836,839 ----





More information about the Spambayes-checkins mailing list