diff options
author | bwarsaw <> | 2003-01-10 20:29:41 +0000 |
---|---|---|
committer | bwarsaw <> | 2003-01-10 20:29:41 +0000 |
commit | c98e0c541a7d90f01a299845add38cd59b66065d (patch) | |
tree | 477239f4331a8a58ec6908b4dc7bdae5d982c701 /Mailman/Archiver | |
parent | f3d337d2e8946457174a714bf88b7ded85461e3e (diff) | |
download | mailman2-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.py | 2 |
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: |