[Spambayes] hammiebulk.py: Untrain bug

Paramjit Oberoi param at cs.wisc.edu
Wed May 28 12:15:16 EDT 2003


Untraining does not work since when the "-U"
option is detected, the "untrain" variable is
set to "1", overriding the function definition...

patch:

145c145
<     untrain = 0
---
>     untrain_mode = 0
169c169
<             untrain = 1
---
>             untrain_mode = 1
182c182
<     if not untrain:
---
>     if not untrain_mode:




More information about the Spambayes mailing list