[spambayes-bugs] [ spambayes-Patches-711845 ] mboxtrain.py in mh mode: trivial fix

SourceForge.net noreply at sourceforge.net
Wed Oct 13 04:52:23 CEST 2004


Patches item #711845, was opened at 2003-03-30 04:45
Message generated for change (Comment added) made by anadelonbrin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498105&aid=711845&group_id=61702

Category: None
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Jay Berkenbilt (jay_berkenbilt)
Assigned to: Nobody/Anonymous (nobody)
Summary: mboxtrain.py in mh mode: trivial fix

Initial Comment:
This patch relative to mboxtrain.py in the 2003-01-17
snapshot fixes two trivial problems in mhdir_train:
files are overwritten needlessly, and the count of
trained messages is not properly updated.  I just took
the logic from the maildir_train function and
duplicated it.  

----------------------------------------------------------------------

>Comment By: Tony Meyer (anadelonbrin)
Date: 2004-10-13 15:52

Message:
Logged In: YES 
user_id=552329

At some point since this the count has been corrected.

I'm not sure whether the other change is correct or not.  It
means that if the include_trained header option is True the
message won't be in the new version of the mbox (i.e. it
will vanish).  This doesn't seem like the desired behaviour.
 If I'm wrong, please re-open.

----------------------------------------------------------------------

Comment By: Jay Berkenbilt (jay_berkenbilt)
Date: 2003-04-13 04:01

Message:
Logged In: YES 
user_id=523210

I'm attaching a new patch relative to the current CVS. 
Sorry for not doing that to begin with.

The only difference actually between this patch and the
previous one is the line numbers.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498105&aid=711845&group_id=61702


More information about the Spambayes-bugs mailing list