Update of /cvsroot/mailman/mailman/Mailman
In directory sc8-pr-cvs1:/tmp/cvs-serv15092/Mailman
Modified Files:
ListAdmin.py
Log Message:
Fix another of Peer's annoying bugs: somehow his next_request_id ended up
lower than the highest entry in the list config.db, so the assertion was
being triggered. We can just deal with the problem instead.
Index: ListAdmin.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/ListAdmin.py,v
retrieving revision 2.42
retrieving revision 2.43
diff -u -d -r2.42 -r2.43
--- ListAdmin.py 7 Feb 2003 06:23:00 -0000 2.42
+++ ListAdmin.py 20 Mar 2003 00:31:50 -0000 2.43
@@ -205,7 +205,9 @@
self.__opendb()
# get the next unique id
id = self.__request_id()
- assert not self.__db.has_key(id)
+ while self.__db.has_key(id):
+ # Shouldn't happen unless the db has gone odd, but let's cope.
+ id = self.__request_id()
# get the message sender
sender = msg.get_sender()
# calculate the file name for the message text and write it to disk
_______________________________________________
Mailman-checkins mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-checkins