diff options
| author | bwarsaw | 2001-12-06 07:04:15 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-12-06 07:04:15 +0000 |
| commit | 694264b28d23a1b956732e28c9a1c3643929b27f (patch) | |
| tree | 4bd6235e0674cd2f42a7f3729695ac00336fabe6 /Mailman/HTMLFormatter.py | |
| parent | 9a39c279caad4cd291726eefbbbeb9ddd0b5670e (diff) | |
| download | mailman-694264b28d23a1b956732e28c9a1c3643929b27f.tar.gz mailman-694264b28d23a1b956732e28c9a1c3643929b27f.tar.zst mailman-694264b28d23a1b956732e28c9a1c3643929b27f.zip | |
Updates to work better with virgin invocation.
_zapfile(), _zapdb(): Only truncate the file if it already exists (so
we don't accidently create it before we're ready to).
addlist(): Make this robust for when mlist == None, as it will when
there are no lists yet, but we want the preamble and minimal aliases
and aliases.db files to get created. Moved the YP_* key settings up
before the predicate shortcircuit.
do_create(): Do the hashopen() before the built-in open() so it gets
created properly by bsddb when it doesn't yet exist.
create(): Check for mlist == None before digging out more attributes.
Also, rewrote the big comment at the top concerning locking.
Diffstat (limited to 'Mailman/HTMLFormatter.py')
0 files changed, 0 insertions, 0 deletions
