summaryrefslogtreecommitdiff
path: root/src/mailman/bin/master.py
diff options
context:
space:
mode:
authorBarry Warsaw2015-05-03 16:56:22 -0400
committerBarry Warsaw2015-05-03 16:56:22 -0400
commita80595acf011b48e5b62410342e67a27deb18e71 (patch)
tree83bcef61270b0cfd363468d8c98a7a17c5d0accc /src/mailman/bin/master.py
parent509d47e31847868818cc234a169b3c3f159848eb (diff)
downloadmailman-a80595acf011b48e5b62410342e67a27deb18e71.tar.gz
mailman-a80595acf011b48e5b62410342e67a27deb18e71.tar.zst
mailman-a80595acf011b48e5b62410342e67a27deb18e71.zip
Remove the obsolete and mostly unimplemented onebounce script.
Move the options base class to utilities (even though only the master uses it). Remove other obsolete and unused code.
Diffstat (limited to 'src/mailman/bin/master.py')
-rw-r--r--src/mailman/bin/master.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mailman/bin/master.py b/src/mailman/bin/master.py
index ebf08ba11..ca7d50883 100644
--- a/src/mailman/bin/master.py
+++ b/src/mailman/bin/master.py
@@ -37,7 +37,7 @@ from lazr.config import as_boolean
from mailman.config import config
from mailman.core.i18n import _
from mailman.core.logging import reopen
-from mailman.options import Options
+from mailman.utilities.options import Options
DOT = '.'
@@ -53,7 +53,7 @@ PRESERVE_ENVS = (
-class ScriptOptions(Options):
+class MasterOptions(Options):
"""Options for the master watcher."""
usage = _("""\
@@ -526,7 +526,7 @@ Runner {0} reached maximum restart limit of {1:d}, not restarting.""",
def main():
"""Main process."""
- options = ScriptOptions()
+ options = MasterOptions()
options.initialize()
# Acquire the master lock, exiting if we can't. We'll let the caller
# handle any clean up or lock breaking. No `with` statement here because