summaryrefslogtreecommitdiff
path: root/Mailman/HTMLFormatter.py
diff options
context:
space:
mode:
authorbwarsaw2007-01-05 20:57:51 +0000
committerbwarsaw2007-01-05 20:57:51 +0000
commit39fa9eaabcd19919fed0a901d7f3cbc33527d938 (patch)
tree34fcd7e60cb1b7cd9d196615939e6715b575a45c /Mailman/HTMLFormatter.py
parent9af2533eb89e48683c049c5007737f7e94bbcdc1 (diff)
downloadmailman-39fa9eaabcd19919fed0a901d7f3cbc33527d938.tar.gz
mailman-39fa9eaabcd19919fed0a901d7f3cbc33527d938.tar.zst
mailman-39fa9eaabcd19919fed0a901d7f3cbc33527d938.zip
In HTTPRunner, when we see a KeyboardInterrupt during the serve_forever(),
don't re-raise the exception since that will show up in the log files. Instead just exit with a code equal to SIGTERM. Rework the way qrunners are specified in the mailman.cfg file. Always start the default number of the default set of qrunners, but allow mailman.cfg to delete some with the del_qrunner() function. Rename add_runner() to add_qrunner() and make this actually work <wink>. Both take the shortened qrunner name as the first argument (e.g. 'Arch' instead of 'ArchRunner'). Automatically start the MaildirRunner if USE_MAILDIR = Yes; same goes for LMTPRunner and USE_LMTP = Yes. In both cases, you do not need to also use add_qrunner() in your mailman.cfg file to enable them. You still do need to put "add_qrunner('HTTP')" in your mailman.cfg if you want to enable the wsgi server. This may end up being added to the default set.
Diffstat (limited to 'Mailman/HTMLFormatter.py')
0 files changed, 0 insertions, 0 deletions