diff options
| author | Barry Warsaw | 2009-12-10 22:32:25 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2009-12-10 22:32:25 -0500 |
| commit | 8938d65327611dded72c7876ffe52e4d4d12ce76 (patch) | |
| tree | 7e2d5c354dd53f1d3f8c42b4a11a9b58b2c2fcb1 /src/mailman/bin/master.py | |
| parent | fbc81f61609ce0504245934d9bed0690fbd331a7 (diff) | |
| download | mailman-8938d65327611dded72c7876ffe52e4d4d12ce76.tar.gz mailman-8938d65327611dded72c7876ffe52e4d4d12ce76.tar.zst mailman-8938d65327611dded72c7876ffe52e4d4d12ce76.zip | |
Diffstat (limited to 'src/mailman/bin/master.py')
| -rw-r--r-- | src/mailman/bin/master.py | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/mailman/bin/master.py b/src/mailman/bin/master.py index 5ce003690..a6091e834 100644 --- a/src/mailman/bin/master.py +++ b/src/mailman/bin/master.py @@ -194,14 +194,15 @@ def acquire_lock(force): if status == WatcherState.conflict: # Hostname matches and process exists. message = _("""\ -The master queue runner lock could not be acquired because it appears as -though another master is already running.""") +The master queue runner lock could not be acquired because it +appears as though another master is already running.""") elif status == WatcherState.stale_lock: # Hostname matches but the process does not exist. program = sys.argv[0] message = _("""\ -The master queue runner lock could not be acquired. It appears as though -there is a stale master lock. Try re-running $program with the -s flag.""") +The master queue runner lock could not be acquired. It appears +as though there is a stale master lock. Try re-running $program +with the -s flag.""") else: # Hostname doesn't even match. assert status == WatcherState.host_mismatch, ( @@ -209,9 +210,10 @@ there is a stale master lock. Try re-running $program with the -s flag.""") # pylint: disable-msg=W0612 hostname, pid, tempfile = get_lock_data() message = _("""\ -The master qrunner lock could not be acquired, because it appears as if some -process on some other host may have acquired it. We can't test for stale -locks across host boundaries, so you'll have to clean this up manually. +The master qrunner lock could not be acquired, because it appears +as if some process on some other host may have acquired it. We +can't test for stale locks across host boundaries, so you'll have +to clean this up manually. Lock file: $config.LOCK_FILE Lock host: $hostname |
