[spambayes-dev] Using reload() with modules from zips (WasMoreCVSbranch/tags questions)

Kenny Pitt kennypitt at hotmail.com
Fri Dec 5 10:21:02 EST 2003


[Me, yesterday evening]
> Mark Hammond wrote:
>> I'm also not sure exactly *why* we are doing a reload - saving user
>> options should not require us to reload the Options module, and I'm
>> fairly sure no code exists that updates the .zip with a new Options
>> file even if it did :)
> 
> [snip meandering commentary by me]
> 
> Maybe we should just comment out the reload and see what happens (he
> said while opening his text editor).

I commented out the 4 lines that do the importing and reloading of the
Options module, and then rebuilt the binary.  Brief initial testing
showed no problems with these lines taken out.

I changed the listening port for one of my POP servers.  I was able to
save the configuration change successfully with no traceback, and by
monitoring with TCPView I saw the listening port change immediately.  I
then also changed the spam cutoff and again saved successfully.
Finally, I exited sb_tray and reloaded it, and both changes were still
present in the config file.

-- 
Kenny Pitt




More information about the spambayes-dev mailing list