summaryrefslogtreecommitdiff
path: root/mailman/interfaces
diff options
context:
space:
mode:
authorBarry Warsaw2008-12-23 17:33:37 -0500
committerBarry Warsaw2008-12-23 17:33:37 -0500
commitd4de7996e6d4fb5db04dfed3b3fd12747622b164 (patch)
treeda5485447a128a0dd857a2a492168deec838362b /mailman/interfaces
parentfd600d3952393dc9808fefb9be871f78cdbdff39 (diff)
downloadmailman-d4de7996e6d4fb5db04dfed3b3fd12747622b164.tar.gz
mailman-d4de7996e6d4fb5db04dfed3b3fd12747622b164.tar.zst
mailman-d4de7996e6d4fb5db04dfed3b3fd12747622b164.zip
Use my lazr.config megamerge branch for now, even though it's still under
development. Completely rework the way switchboards and queue runners are initialized, i.e. driven from the configuration file instead of hard coded. The various queue runner directories are no longer available thorugh the config object directly. Get them from config.switchboards. Provide minimal mailman.cfg and testing.cfg configuration files. Neuter styles for now until they can be consolidated with lazr.config.
Diffstat (limited to 'mailman/interfaces')
-rw-r--r--mailman/interfaces/runner.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/mailman/interfaces/runner.py b/mailman/interfaces/runner.py
index 28b15968c..8ad54f445 100644
--- a/mailman/interfaces/runner.py
+++ b/mailman/interfaces/runner.py
@@ -30,9 +30,10 @@ class IRunner(Interface):
def stop():
"""Stop the queue runner on the next iteration through the loop."""
- QDIR = Attribute('The queue directory. Overridden in subclasses.')
+ queue_directory = Attribute(
+ 'The queue directory. Overridden in subclasses.')
- SLEEPTIME = Attribute("""\
+ sleep_time = Attribute("""\
The number of seconds this queue runner will sleep between iterations
through the main loop. If given, overrides
`config.QRUNNER_SLEEP_TIME`