[Spambayes-checkins] spambayes/spambayes message.py,1.53,1.54
Tony Meyer
anadelonbrin at users.sourceforge.net
Fri Aug 6 07:25:01 CEST 2004
Update of /cvsroot/spambayes/spambayes/spambayes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25177/spambayes
Modified Files:
message.py
Log Message:
Pass message id as a parameter - self isn't available!
Index: message.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/spambayes/message.py,v
retrieving revision 1.53
retrieving revision 1.54
diff -C2 -d -r1.53 -r1.54
*** message.py 4 Aug 2004 08:18:18 -0000 1.53
--- message.py 6 Aug 2004 05:24:58 -0000 1.54
***************
*** 490,494 ****
# This is used by both sb_server and sb_imapfilter, so it's handy to have
# it available separately.
! def insert_exception_header(string_msg):
"""Insert an exception header into the given RFC822 message (as text).
--- 490,494 ----
# This is used by both sb_server and sb_imapfilter, so it's handy to have
# it available separately.
! def insert_exception_header(string_msg, msg_id):
"""Insert an exception header into the given RFC822 message (as text).
***************
*** 512,515 ****
headers += "\n%s: %s\r\n%s: %s\r\n\r\n" % \
(headerName, header,
! options["Headers", "mailid_header_name"], self.id)
return (headers + body, details)
--- 512,515 ----
headers += "\n%s: %s\r\n%s: %s\r\n\r\n" % \
(headerName, header,
! options["Headers", "mailid_header_name"], msg_id)
return (headers + body, details)
More information about the Spambayes-checkins
mailing list