[spambayes-bugs] [ spambayes-Patches-769981 ] Outlook plugin: allow user to change spam and unsure

SourceForge.net noreply at sourceforge.net
Fri Jul 11 20:48:42 EDT 2003


Patches item #769981, was opened at 2003-07-12 02:48
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498105&aid=769981&group_id=61702

Category: Outlook
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Adam Walker (xenogeist)
Assigned to: Nobody/Anonymous (nobody)
Summary: Outlook plugin: allow user to change spam and unsure

Initial Comment:
The config.py module does not allow a user to change 
the spam and/or unsure folders after changing them 
from the default of "None". The bug usually shows up 
after someone has deleted the spam folder by accident 
and requires the user to delete the ini file from the 
spambayes data folder as a workaround. However, the 
bug affects changing the values from existing folders as 
well.

The patch changes the is_valid_single method to test 
the "self.value" field which is a tuple in the case of spam 
and unsure folders instead of the "value" parameter 
which is a string in those cases. It will also return true 
in the case of a list so that the list of "good email" 
folders can be set.

The command used to create the attached diff was:
cvs diff -c config.py > config.diff

If I should do something differently, let me know.

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

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



More information about the Spambayes-bugs mailing list