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

Modified Files:
        Pending.py 
Log Message:
One other type of date error.


Index: Pending.py
===================================================================
RCS file: /cvsroot/tmda/tmda/contrib/cgi/Pending.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- Pending.py  2 Jan 2003 21:59:37 -0000       1.9
+++ Pending.py  2 Jan 2003 22:35:37 -0000       1.10
@@ -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:
+      except (TypeError, ValueError):
         Date = "None"
   
       # Subject:

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

Reply via email to