CVS: tmda-cgi ChangeLog,1.60,1.61 PendList.py,1.24,1.25

Gre7g Luterman <[email protected]>
Newsgroups gmane.mail.spam.tmda.cvs
Message-ID <[email protected]>
Update of /cvsroot/tmda/tmda-cgi
In directory sc8-pr-cvs1:/tmp/cvs-serv23499

Modified Files:
	ChangeLog PendList.py 
Log Message:
Bugfix to avoid spilling errors if a message is repeatedly deleted.


Index: ChangeLog
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/ChangeLog,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- ChangeLog	23 Aug 2003 18:55:52 -0000	1.60
+++ ChangeLog	23 Sep 2003 01:28:25 -0000	1.61
@@ -1,3 +1,7 @@
+2003-09-22  Gre7g Luterman  <[email protected]>
+
+	* Bugfix to avoid spilling errors if a message is repeatedly deleted.
+
 2003-08-23  Gre7g Luterman  <[email protected]>
 
 	* Made sure users can only edit/view files in approved directories.

Index: PendList.py
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/PendList.py,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- PendList.py	14 Jul 2003 21:15:20 -0000	1.24
+++ PendList.py	23 Sep 2003 01:28:25 -0000	1.25
@@ -96,7 +96,7 @@
               else:
                 OtherList.append(MsgObj)
                 OtherAction = Form["Action"].value
-          except IOError: pass
+          except (IOError, Errors.MessageError): pass
         # Check for checkboxes (c0 through c%(PagerSize)d)
         elif Form.has_key("c%d" % Count ):
           # Check to make sure they're not trying to access anything other than

_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.