[Spambayes-checkins] spambayes setup.py,1.24,1.24.2.1

Tony Meyer anadelonbrin at users.sourceforge.net
Sun Sep 21 00:29:41 EDT 2003


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

Modified Files:
      Tag: release_1_0
	setup.py 
Log Message:
2.2 compatibility for the install script.

Index: setup.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/setup.py,v
retrieving revision 1.24
retrieving revision 1.24.2.1
diff -C2 -d -r1.24 -r1.24.2.1
*** setup.py	19 Sep 2003 13:14:20 -0000	1.24
--- setup.py	21 Sep 2003 04:29:38 -0000	1.24.2.1
***************
*** 24,27 ****
--- 24,32 ----
      DistributionMetadata.classifiers = None
  
+ try:
+     True, False
+ except NameError:
+     # Maintain compatibility with Python 2.2
+     True, False = 1, 0
  
  from spambayes import __version__





More information about the Spambayes-checkins mailing list