diff options
| author | bwarsaw | 1998-11-06 00:43:06 +0000 |
|---|---|---|
| committer | bwarsaw | 1998-11-06 00:43:06 +0000 |
| commit | 5962b9c2e5c5bc18e72c0dd5b6b01f072c86042c (patch) | |
| tree | ace92834e116a6c8bcdd4c070d4dbb4b6f13e657 /Mailman/HTMLFormatter.py | |
| parent | 2846005f8b17a7a5300891258cba53d3826c22f0 (diff) | |
| download | mailman-5962b9c2e5c5bc18e72c0dd5b6b01f072c86042c.tar.gz mailman-5962b9c2e5c5bc18e72c0dd5b6b01f072c86042c.tar.zst mailman-5962b9c2e5c5bc18e72c0dd5b6b01f072c86042c.zip | |
TOC_entry_template: generate the entire "Text" table cell (see below).
html_TOC(): We're even more sophisticated when generating the Text
cell. We first look for the .txt.gz file and then the .txt file,
plunking in the link and some extra explanatory text depending on what
we find. If we find nothing, we suppress the entire cell. Also, we
calculate the size (approximately) and give an indication in the cell
text.
ALSO: it is realized that nothing special has to be handled to promote
.txt to .txt.gz when gzip `suddenly appears'. The current algorithm
already handles this. Note there's not much we can do if it suddenly
disappears (since we can't un-gzip it if the module's not available!).
import sys at top of file instead of multiple places where used. also
convert all sys.stderr.write()'s to self.message() so they'll honor
the VERBOSE flag.
Diffstat (limited to 'Mailman/HTMLFormatter.py')
0 files changed, 0 insertions, 0 deletions
