diff options
author | Mark Sapiro <mark@msapiro.net> | 2008-09-21 12:12:52 -0700 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2008-09-21 12:12:52 -0700 |
commit | c7b0eac7de83ed3afd584d733e2b73bf9789701a (patch) | |
tree | 9feb60bae311a651de7c55eee53fb4f5027ffa7a | |
parent | 442dfb107a5dd011dcee55d3bb4f3b1ec58ac91a (diff) | |
download | mailman2-c7b0eac7de83ed3afd584d733e2b73bf9789701a.tar.gz mailman2-c7b0eac7de83ed3afd584d733e2b73bf9789701a.tar.xz mailman2-c7b0eac7de83ed3afd584d733e2b73bf9789701a.zip |
Changed cron/gate_news to continue processing the remaining lists on
certain errors that can be caused by configuration of a particular list.
Bug #265941 (sf775100).
-rw-r--r-- | NEWS | 4 | ||||
-rwxr-xr-x | cron/gate_news | 9 |
2 files changed, 10 insertions, 3 deletions
@@ -23,6 +23,10 @@ Here is a history of user visible changes to Mailman. requests have not been migrated properly. This is fixed. Bug #266106 (sf998384). + - Changed cron/gate_news to continue processing the remaining lists on + certain errors that can be caused by configuration of a particular list. + Bug #265941 (sf775100). + 2.1.11 (30-Jun-2008) New Features diff --git a/cron/gate_news b/cron/gate_news index a84731f3..a44257cd 100755 --- a/cron/gate_news +++ b/cron/gate_news @@ -1,6 +1,6 @@ #! @PYTHON@ # -# Copyright (C) 1998-2003 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2008 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -206,8 +206,11 @@ def process_lists(glock): # Open the newsgroup, but let most exceptions percolate up. try: conn, first, last = open_newsgroup(mlist) - except (socket.error, nntplib.NNTPError): - break + except (socket.error, nntplib.NNTPError), e: + syslog('fromusenet', + "%s: couldn't open newsgroup %s: skipping\n%s", + listname, mlist.linked_newsgroup, e) + continue syslog('fromusenet', '%s: [%d..%d]' % (listname, first, last)) try: try: |