Update of /cvsroot/tmda/tmda/contrib/cgi
In directory sc8-pr-cvs1:/tmp/cvs-serv1843

Modified Files:
        Pending.py 
Log Message:
Caught an exception I forgot earlier.


Index: Pending.py
===================================================================
RCS file: /cvsroot/tmda/tmda/contrib/cgi/Pending.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- Pending.py  2 Jan 2003 22:35:37 -0000       1.10
+++ Pending.py  13 Jan 2003 05:27:40 -0000      1.11
@@ -232,7 +232,7 @@
 re.compile("\d+ [a-zA-Z]+ \d+ \d+:\d\d:\d\d").search(MsgObj.msgobj.get("date"))
         Date = time.strptime(Temp.group(), "%d %b %Y %H:%M:%S")
         Date = time.strftime(Defaults.CGI_DATE_FORMAT, Date)
-      except (TypeError, ValueError):
+      except (TypeError, ValueError, AttributeError):
         Date = "None"
   
       # Subject:

_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs

Reply via email to