[Spambayes-checkins] spambayes/spambayes message.py,1.21,1.22

Tony Meyer anadelonbrin at users.sourceforge.net
Mon Apr 28 01:01:29 EDT 2003


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

Modified Files:
	message.py 
Log Message:
Switch from imapfilter using IMAP uids as persistent ids for
messages to our own generated ids.  This code runs on one
server I have, but I don't have time for more testing at the moment.
I'm checking it in since the old code is Bad and this should be
ok....

WARNING: You will need to disguard any hammie.db that you
have trained with imapfilter.py, and also any spambayes.messageinfo.db
files as well.

Index: message.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/spambayes/message.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** message.py	25 Apr 2003 04:12:02 -0000	1.21
--- message.py	28 Apr 2003 07:01:21 -0000	1.22
***************
*** 237,241 ****
          try:
              self.setId(self[options['pop3proxy','mailid_header_name']])
!         except KeyError:
              return None
  
--- 237,241 ----
          try:
              self.setId(self[options['pop3proxy','mailid_header_name']])
!         except ValueError:
              return None
  





More information about the Spambayes-checkins mailing list