diff options
| author | tkikuchi | 2005-08-28 05:31:27 +0000 |
|---|---|---|
| committer | tkikuchi | 2005-08-28 05:31:27 +0000 |
| commit | 067dc15b2432bb285ab5e4a3eac6f4dddd67ed19 (patch) | |
| tree | ceac72251ee33742bfff7626c99dde163d3da946 /Mailman/i18n.py | |
| parent | bc1dad4f90a26ade7c4dd6d2863de88856e8b4b6 (diff) | |
| download | mailman-067dc15b2432bb285ab5e4a3eac6f4dddd67ed19.tar.gz mailman-067dc15b2432bb285ab5e4a3eac6f4dddd67ed19.tar.zst mailman-067dc15b2432bb285ab5e4a3eac6f4dddd67ed19.zip | |
Diffstat (limited to 'Mailman/i18n.py')
| -rw-r--r-- | Mailman/i18n.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/i18n.py b/Mailman/i18n.py index c102b68cb..810f15663 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(':') |
