summaryrefslogtreecommitdiff
path: root/Mailman/Commands/cmd_help.py
diff options
context:
space:
mode:
authorbwarsaw2002-04-28 21:04:52 +0000
committerbwarsaw2002-04-28 21:04:52 +0000
commitbea42ab77b4e840811635301559087247ca2f686 (patch)
tree90a277e9fcd13ac31494468aed548e964c48ce02 /Mailman/Commands/cmd_help.py
parentc7e83bace921b50808e9f0e98557105422ba00f3 (diff)
downloadmailman-bea42ab77b4e840811635301559087247ca2f686.tar.gz
mailman-bea42ab77b4e840811635301559087247ca2f686.tar.zst
mailman-bea42ab77b4e840811635301559087247ca2f686.zip
Share a single nntp connection amongst all lists with the same
nntp_host. Also, clean up some exception handling. Specifically, open_newsgroup(): Cache the connection object. clearcache(): New function to clean things up at script exit. poll_newsgroup(): Catch all NNTPErrors, not just (obsolete) error_temp. process_lists(): Catch all socket and nntplib errors when opening the newsgroup. main(): Be sure to clear the nntp connection cache when done.
Diffstat (limited to 'Mailman/Commands/cmd_help.py')
0 files changed, 0 insertions, 0 deletions