diff options
author | Mark Sapiro <mark@msapiro.net> | 2014-11-04 14:59:40 -0800 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2014-11-04 14:59:40 -0800 |
commit | 4a71216dc2469b9d5586ef63a5ba9ff5e3c444a9 (patch) | |
tree | 492b265c44a67a30068d191632af1ef4f3f12f49 /Mailman/Archiver | |
parent | 77e40fbbc6bcc5107ab3cf761d312566afda97d5 (diff) | |
download | mailman2-4a71216dc2469b9d5586ef63a5ba9ff5e3c444a9.tar.gz mailman2-4a71216dc2469b9d5586ef63a5ba9ff5e3c444a9.tar.xz mailman2-4a71216dc2469b9d5586ef63a5ba9ff5e3c444a9.zip |
Fixed an archiving bug that would cause messages with 'Subject: Re:'
only to be indexed in the archives without a link to the message.
Diffstat (limited to 'Mailman/Archiver')
-rw-r--r-- | Mailman/Archiver/HyperArch.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Mailman/Archiver/HyperArch.py b/Mailman/Archiver/HyperArch.py index 4d95c5ab..9b1df75a 100644 --- a/Mailman/Archiver/HyperArch.py +++ b/Mailman/Archiver/HyperArch.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998-2010 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2014 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -271,6 +271,8 @@ class Article(pipermail.Article): if result: i = result.end(0) self.subject = self.subject[i:] + if self.subject == '': + self.subject = _('No subject') else: i = -1 # Useful to keep around |