summaryrefslogtreecommitdiff
path: root/Mailman/HTMLFormatter.py
diff options
context:
space:
mode:
authorklm1998-11-17 19:57:23 +0000
committerklm1998-11-17 19:57:23 +0000
commitc9ba6005fff977120a4a7123044a6cd4b0cd229e (patch)
treede010ec3ae83a3d24acda151adba0bb57c3b61ad /Mailman/HTMLFormatter.py
parent1b0fb1fdf6973f2402265533fa6083379803b564 (diff)
downloadmailman-c9ba6005fff977120a4a7123044a6cd4b0cd229e.tar.gz
mailman-c9ba6005fff977120a4a7123044a6cd4b0cd229e.tar.zst
mailman-c9ba6005fff977120a4a7123044a6cd4b0cd229e.zip
.InitVars(): Include a comment explaining the bounce_info structure,
at least, as best as i can glean. .RegisterBounce(): Ensure that self.Save() is called if the bounce history stats change within the routine. This was not always happening before, so that changes in the stats could be lost (depending on whether some other method saved the config somewhere down the line), leading to inconsistent behavior. I fixed that, and added a loop at the top that culls stale entries from the db whenever a bounce is detected, so we aren't monotonically accumulating bounce histories over the lifetime of the list! I also added a docstring and several less cryptic comments, to try to be clearer about what's going on here.
Diffstat (limited to 'Mailman/HTMLFormatter.py')
0 files changed, 0 insertions, 0 deletions