diff options
| author | bwarsaw | 1998-12-27 20:00:19 +0000 |
|---|---|---|
| committer | bwarsaw | 1998-12-27 20:00:19 +0000 |
| commit | 7662f82fb5e0413cabe6879be806a1e98b4f9fe8 (patch) | |
| tree | 7316af1d5a61edd690c78a368f99115550e57c27 /Mailman/pythonlib/tempfile.py | |
| parent | 9ceaab7aec4050c86139eb461863df6e25a61217 (diff) | |
| download | mailman-7662f82fb5e0413cabe6879be806a1e98b4f9fe8.tar.gz mailman-7662f82fb5e0413cabe6879be806a1e98b4f9fe8.tar.zst mailman-7662f82fb5e0413cabe6879be806a1e98b4f9fe8.zip | |
Fixed bugs that occur when no list name is given in the URL.
Also, several stylistic fixes:
- ArchiveFilter() need not be nested
- Don't use eval(str) to convert a string to an integer; it's slower
and less safe than using int(str), but be sure to catch ValueError
which might result when a bad string is given.
- Note to anyone writing Mailman/Cgi scripts! Nothing but imports
should happen as a side effect of importing this module. Run
everything from inside a main() function (see scripts/driver for
details).
- get rid of unnecessary imports
- Fix #! line, even though this script isn't typically run from the
command line.
Diffstat (limited to 'Mailman/pythonlib/tempfile.py')
0 files changed, 0 insertions, 0 deletions
