Modify ↓
#10261 closed defect (fixed)
FilterSystem.test: retval not initialized
| Reported by: | Owned by: | Dirk Stöcker | |
|---|---|---|---|
| Priority: | normal | Milestone: | plugin - spam-filter |
| Component: | plugin/spamfilter | Version: | 0.12dev |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
In FilterSystem.test, in the for strategy in self.strategies loop, the retval variable is not always initialized. For example, if self.use_external is set to false, this code will explode with NameError. Worse still, in some circumstances, retval set in one interation could be reused in another one.
Attachments (0)
Change History (2)
comment:1 by , 14 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:2 by , 11 years ago
| Milestone: | → plugin - spam-filter |
|---|
Note:
See TracTickets
for help on using tickets.



Fixed in r10756.