diff options
| author | bwarsaw | 2002-12-12 00:51:51 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-12-12 00:51:51 +0000 |
| commit | 836b32ac44416241aa16f45e7e6b48f06e25b1b1 (patch) | |
| tree | 2ae800bf784d1c675c823dd9c1c4059ab3331e86 | |
| parent | 743796e6d2e7f3b6cb06d5ceac2aed4556b5b900 (diff) | |
| download | mailman-836b32ac44416241aa16f45e7e6b48f06e25b1b1.tar.gz mailman-836b32ac44416241aa16f45e7e6b48f06e25b1b1.tar.zst mailman-836b32ac44416241aa16f45e7e6b48f06e25b1b1.zip | |
| -rw-r--r-- | Mailman/Cgi/admindb.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Mailman/Cgi/admindb.py b/Mailman/Cgi/admindb.py index 16d31f737..3b21558e8 100644 --- a/Mailman/Cgi/admindb.py +++ b/Mailman/Cgi/admindb.py @@ -473,8 +473,11 @@ def show_helds_overview(mlist, form): Utils.websafe(subject) ]) t.AddRow([' ', Bold(_('Size:')), str(size) + _(' bytes')]) - t.AddRow([' ', Bold(_('Reason:')), - reason or _('not available')]) + if reason: + reason = _(reason) + else: + reason = _('not available') + t.AddRow([' ', Bold(_('Reason:')), reason]) # Include the date we received the message, if available when = msgdata.get('received_time') if when: |
