summaryrefslogtreecommitdiff
path: root/Mailman/Mailbox.py
diff options
context:
space:
mode:
authorbwarsaw2002-10-01 23:04:30 +0000
committerbwarsaw2002-10-01 23:04:30 +0000
commit6114496ed6c8705875fb92c04d847a28071fa848 (patch)
tree0c496fac9c8f77072a6526bc42187a262081b5e2 /Mailman/Mailbox.py
parenta03d9917c5e801af6933345a9cbb807b0a4e4b8e (diff)
downloadmailman-6114496ed6c8705875fb92c04d847a28071fa848.tar.gz
mailman-6114496ed6c8705875fb92c04d847a28071fa848.tar.zst
mailman-6114496ed6c8705875fb92c04d847a28071fa848.zip
run_main(): When running the cgi, redirect stdout to a cStringIO, and
only if the cgi script runs to completion successfully do we write the entire output to the real stdout (connected to the web server). This way, if any exception occurs during the rendering of the page (e.g. in "print doc.Format()") we won't mess up the diagnostics page.
Diffstat (limited to 'Mailman/Mailbox.py')
0 files changed, 0 insertions, 0 deletions