Update of /cvsroot/mailman/mailman/Mailman/Commands
In directory sc8-pr-cvs1:/tmp/cvs-serv16296/Mailman/Commands

Modified Files:
      Tag: Release_2_1-maint
        cmd_confirm.py 
Log Message:
process(): Catch MMBadPasswordError which gets thrown by ProcessConfirmation()
when the wrong admin password is given in a confirmation message.


Index: cmd_confirm.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Commands/cmd_confirm.py,v
retrieving revision 2.3.2.2
retrieving revision 2.3.2.3
diff -u -d -r2.3.2.2 -r2.3.2.3
--- cmd_confirm.py      7 Apr 2003 22:51:15 -0000       2.3.2.2
+++ cmd_confirm.py      1 Dec 2003 01:25:46 -0000       2.3.2.3
@@ -67,6 +67,9 @@
         res.results.append(_("""\
 You were not invited to this mailing list.  The invitation has been discarded,
 and both list administrators have been alerted."""))
+    except Errors.MMBadPasswordError:
+        res.results.append(_("""\
+Bad approval password given.  Held message is still being held."""))
     else:
         if ((results[0] == Pending.SUBSCRIPTION and mlist.send_welcome_msg)
             or



_______________________________________________
Mailman-checkins mailing list
[EMAIL PROTECTED]
Unsubscribe: http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to