aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman')
-rw-r--r--Mailman/i18n.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/i18n.py b/Mailman/i18n.py
index c5853438..52bce730 100644
--- a/Mailman/i18n.py
+++ b/Mailman/i18n.py
@@ -108,7 +108,7 @@ def ctime(date):
try:
year, mon, day, hh, mm, ss, wday, ydat, dst = time.strptime(date)
tzname = time.tzname[dst and 1 or 0]
- except ValueError:
+ except (ValueError, AttributeError):
try:
wday, mon, day, hms, year = date.split()
hh, mm, ss = hms.split(':')