aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mailman/Archiver/HyperArch.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/Mailman/Archiver/HyperArch.py b/Mailman/Archiver/HyperArch.py
index c0695f51..0440dc6d 100644
--- a/Mailman/Archiver/HyperArch.py
+++ b/Mailman/Archiver/HyperArch.py
@@ -278,7 +278,11 @@ class Article(pipermail.Article):
otrans = i18n.get_translation()
try:
i18n.set_language(lang)
- self.email = re.sub('@', _(' at '), self.email)
+ if self.author == self.email:
+ self.author = self.email = re.sub('@', _(' at '),
+ self.email)
+ else:
+ self.email = re.sub('@', _(' at '), self.email)
finally:
i18n.set_translation(otrans)