diff options
| author | bwarsaw | 2002-11-19 01:07:45 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-11-19 01:07:45 +0000 |
| commit | 3978a4b39fbb56a80f7095786e04d5ee09f95c2d (patch) | |
| tree | b4aeebfd90148417a4394b76b82ff9b6c33efaab /Mailman/Queue/Switchboard.py | |
| parent | b75ecf55c8aff5ac75df4d0b47b4e25de201ff35 (diff) | |
| download | mailman-3978a4b39fbb56a80f7095786e04d5ee09f95c2d.tar.gz mailman-3978a4b39fbb56a80f7095786e04d5ee09f95c2d.tar.zst mailman-3978a4b39fbb56a80f7095786e04d5ee09f95c2d.zip | |
Diffstat (limited to 'Mailman/Queue/Switchboard.py')
| -rw-r--r-- | Mailman/Queue/Switchboard.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Mailman/Queue/Switchboard.py b/Mailman/Queue/Switchboard.py index 298c10493..530055ada 100644 --- a/Mailman/Queue/Switchboard.py +++ b/Mailman/Queue/Switchboard.py @@ -145,6 +145,12 @@ class _Switchboard: os.unlink(dbfile) except EnvironmentError, e: if e.errno <> errno.ENOENT: raise + # Between 2.1b4 and 2.1b5, the `rejection-notice' key in the metadata + # was renamed to `rejection_notice', since dashes in the keys are not + # supported in METAFMT_ASCII. + if data.has_key('rejection-notice'): + data['rejection_notice'] = data['rejection-notice'] + del data['rejection-notice'] msgfp = None try: try: |
