logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

CVS: tmda/TMDA Errors.py,1.1,1.2 ChangeLog,1.118,1.119: msg#00023

Subject: CVS: tmda/TMDA Errors.py,1.1,1.2 ChangeLog,1.118,1.119
Update of /cvsroot/tmda/tmda/TMDA
In directory usw-pr-cvs1:/tmp/cvs-serv6225/TMDA

Modified Files:
        Errors.py ChangeLog 
Log Message:
tmda-filter now catches exceptions derived from StandardError as well
as TMDA-defined exceptions.


Index: Errors.py
===================================================================
RCS file: /cvsroot/tmda/tmda/TMDA/Errors.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Errors.py   2001/12/20 23:57:04     1.1
+++ Errors.py   2002/01/05 22:46:15     1.2
@@ -5,9 +5,7 @@
 
 import sys
 
-import Defaults
 
-
 # exception classes
 class TMDAError(Exception):
     """Base class for all TMDA exceptions."""
@@ -19,4 +17,3 @@
         TMDAError.__init__(self)
         self.varname = varname
         print 'Missing environment variable:', self.varname
-        sys.exit(Defaults.EX_TEMPFAIL)

Index: ChangeLog
===================================================================
RCS file: /cvsroot/tmda/tmda/TMDA/ChangeLog,v
retrieving revision 1.118
retrieving revision 1.119
diff -u -r1.118 -r1.119
--- ChangeLog   2002/01/04 18:35:43     1.118
+++ ChangeLog   2002/01/05 22:46:15     1.119
@@ -1,3 +1,8 @@
+2002-01-05  Jason R. Mastaler  <jasonrm@xxxxxxxxxxxxxxxxxxxxxxxxxx>
+
+       * Errors.py: Defaults no longer necessary, and leave the exit
+       EX_TEMPFAIL.to tmda-filter.
+
 2002-01-04  Jason R. Mastaler  <jasonrm@xxxxxxxxxxxxxxxxxxxxxxxxxx>
 
        * Util.py (make_msgid): Add a random integer to the message id to

_______________________________________________
tmda-cvs mailing list
http://libertine.org/lists/listinfo/tmda-cvs



<Prev in Thread] Current Thread [Next in Thread>