[Spambayes-checkins]
spambayes/pspam/pspam folder.py,1.1,1.2 profile.py,1.2,1.3
Just van Rossum
jvr@users.sourceforge.net
Thu Nov 7 22:30:13 2002
- Previous message: [Spambayes-checkins]
spambayes/pspam pop.py,1.2,1.3 scoremsg.py,1.1,1.2 update.py,1.1,1.2
- Next message: [Spambayes-checkins]
spambayes README.txt,1.40,1.41 TestDriver.py,1.27,1.28
Tester.py,1.7,1.8 chi2.py,1.7,1.8 classifier.py,1.48,1.49
hammie.py,1.36,1.37 hammiesrv.py,1.9,1.10 mboxcount.py,1.2,1.3
mboxtest.py,1.9,1.10 neiltrain.py,1.3,1.4 rebal.py,1.8,1.9
sets.py,1.1,1.2 splitn.py,1.3,1.4 splitndirs.py,1.6,1.7
tokenizer.py,1.62,1.63
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/spambayes/spambayes/pspam/pspam
In directory usw-pr-cvs1:/tmp/cvs-serv25250/pspam/pspam
Modified Files:
folder.py profile.py
Log Message:
Mass checkin: Remain compatible with Python 2.2. Only tested with pop3proxy.py.
Index: folder.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/pspam/pspam/folder.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** folder.py 4 Nov 2002 04:44:20 -0000 1.1
--- folder.py 7 Nov 2002 22:30:11 -0000 1.2
***************
*** 10,13 ****
--- 10,20 ----
from pspam.message import PMessage
+ try:
+ True, False
+ except NameError:
+ # Maintain compatibility with Python 2.2
+ True, False = 1, 0
+
+
def factory(fp):
try:
Index: profile.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/pspam/pspam/profile.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** profile.py 4 Nov 2002 21:25:54 -0000 1.2
--- profile.py 7 Nov 2002 22:30:11 -0000 1.3
***************
*** 14,17 ****
--- 14,24 ----
import os
+ try:
+ True, False
+ except NameError:
+ # Maintain compatibility with Python 2.2
+ True, False = 1, 0
+
+
def open_folders(dir, names, klass):
L = []
- Previous message: [Spambayes-checkins]
spambayes/pspam pop.py,1.2,1.3 scoremsg.py,1.1,1.2 update.py,1.1,1.2
- Next message: [Spambayes-checkins]
spambayes README.txt,1.40,1.41 TestDriver.py,1.27,1.28
Tester.py,1.7,1.8 chi2.py,1.7,1.8 classifier.py,1.48,1.49
hammie.py,1.36,1.37 hammiesrv.py,1.9,1.10 mboxcount.py,1.2,1.3
mboxtest.py,1.9,1.10 neiltrain.py,1.3,1.4 rebal.py,1.8,1.9
sets.py,1.1,1.2 splitn.py,1.3,1.4 splitndirs.py,1.6,1.7
tokenizer.py,1.62,1.63
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]