[Spambayes-checkins] spambayes/spambayes message.py,1.38,1.39
Tony Meyer
anadelonbrin at users.sourceforge.net
Thu Oct 2 01:50:46 EDT 2003
Update of /cvsroot/spambayes/spambayes/spambayes
In directory sc8-pr-cvs1:/tmp/cvs-serv27689/spambayes
Modified Files:
message.py
Log Message:
Yikes. I introduced a bug that meant that training wasn't done
on messages from the review page, even though an error wasn't
produced. Fix that.
Index: message.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/spambayes/message.py,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -d -r1.38 -r1.39
*** message.py 19 Sep 2003 23:38:10 -0000 1.38
--- message.py 2 Oct 2003 05:50:43 -0000 1.39
***************
*** 106,110 ****
from cStringIO import StringIO
-
CRLF_RE = re.compile(r'\r\n|\r|\n')
--- 106,109 ----
***************
*** 200,203 ****
--- 199,205 ----
def asTokens(self):
return tokenize(self.as_string())
+
+ def tokenize(self):
+ return self.asTokens()
def _force_CRLF(self, data):
More information about the Spambayes-checkins
mailing list