aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Archiver
diff options
context:
space:
mode:
authorbwarsaw <>2003-01-10 20:29:41 +0000
committerbwarsaw <>2003-01-10 20:29:41 +0000
commitc98e0c541a7d90f01a299845add38cd59b66065d (patch)
tree477239f4331a8a58ec6908b4dc7bdae5d982c701 /Mailman/Archiver
parentf3d337d2e8946457174a714bf88b7ded85461e3e (diff)
downloadmailman2-c98e0c541a7d90f01a299845add38cd59b66065d.tar.gz
mailman2-c98e0c541a7d90f01a299845add38cd59b66065d.tar.xz
mailman2-c98e0c541a7d90f01a299845add38cd59b66065d.zip
_set_date(): Watch out for TypeErrors that can come from time.mktime()
Diffstat (limited to '')
-rw-r--r--Mailman/Archiver/pipermail.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Archiver/pipermail.py b/Mailman/Archiver/pipermail.py
index 2e1b226d..e2e6c062 100644
--- a/Mailman/Archiver/pipermail.py
+++ b/Mailman/Archiver/pipermail.py
@@ -225,7 +225,7 @@ class Article:
date = parsedate_tz(datestr)
try:
return time.mktime(date[:9])
- except (ValueError, OverflowError):
+ except (TypeError, ValueError, OverflowError):
return None
date = floatdate('date')
if date is None: