diff options
| author | bwarsaw | 2002-03-15 17:55:39 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-03-15 17:55:39 +0000 |
| commit | 65070745f9022b191363feccd37e7c8bd490c4b5 (patch) | |
| tree | d908ae53173238d43eaca3867ef14d825499d171 /Mailman/Queue/CommandRunner.py | |
| parent | 2c34527aaabd003509f1ea453225c6b4b6c1925e (diff) | |
| download | mailman-65070745f9022b191363feccd37e7c8bd490c4b5.tar.gz mailman-65070745f9022b191363feccd37e7c8bd490c4b5.tar.zst mailman-65070745f9022b191363feccd37e7c8bd490c4b5.zip | |
Diffstat (limited to 'Mailman/Queue/CommandRunner.py')
| -rw-r--r-- | Mailman/Queue/CommandRunner.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Mailman/Queue/CommandRunner.py b/Mailman/Queue/CommandRunner.py index ec3e3a9a2..3b2221e45 100644 --- a/Mailman/Queue/CommandRunner.py +++ b/Mailman/Queue/CommandRunner.py @@ -67,7 +67,12 @@ class CommandRunner(Runner): del msg['subject'] msg['Subject'] = 'leave' msg.set_payload('') - mlist.ParseMailCommands(msg, msgdata) + try: + mlist.ParseMailCommands(msg, msgdata) + except LockFile.TimeOutError: + # We probably could not get the lock on the pending + # database. That's okay, we'll just try again later. + return 1 elif msgdata.get('toconfirm'): mo = re.match(mm_cfg.VERP_CONFIRM_REGEXP, msg.get('to', '')) if mo: |
