[PATCH] Exception when marking submission as spam on Monitoring page
Unfortunately I can't repeat it so I can't tell you what the actual exception was (the traceback was so long it was truncated before the actual exception in the httpd error log), but the fix should be fairly self-evident:
--- tracspamfilter/filters/bayes.py.orig
+++ tracspamfilter/filters/bayes.py
@@ -134,7 +134,7 @@
if word != self.statekey:
if row[0] > self.nspam:
self.log.warn('Reset SPAM count from %d to %d due to keyword \'%s\'.',
- self.nspam, row[0], self.nspam, word)
+ self.nspam, row[0], word)
self.nspam = row[0]
self.store()
if row[1] > self.nham:
Change History
(4)
Summary: |
Exception when marking submission as spam pn Monitoring page → Exception when marking submission as spam on Monitoring page
|
Summary: |
Exception when marking submission as spam on Monitoring page → [PATCH] Exception when marking submission as spam on Monitoring page
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
Milestone: |
→ plugin - spam-filter
|
Fixed in r10755.