diff options
-rw-r--r-- | Mailman/Archiver/pipermail.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/Archiver/pipermail.py b/Mailman/Archiver/pipermail.py index 15decd40..c03d43b3 100644 --- a/Mailman/Archiver/pipermail.py +++ b/Mailman/Archiver/pipermail.py @@ -250,10 +250,10 @@ class Article: date = floatdate(message.get('x-list-received-date')) if date is None: date = floatdate(re.sub(r'^.*;\s*', '', - message.get('received'), flags=re.S)) + message.get('received', ''), flags=re.S)) if date is None: date = floatdate(re.sub(r'From \s*\S+\s+', '', - message.get_unixfrom())) + message.get_unixfrom() or '' )) if date is None: date = self._last_article_time + 1 self._last_article_time = date |