summaryrefslogtreecommitdiff
path: root/src/mailman/config/config.py
diff options
context:
space:
mode:
authorBarry Warsaw2011-06-01 17:09:32 -0400
committerBarry Warsaw2011-06-01 17:09:32 -0400
commitbf8b285acb8c2500e52ae2582f27513b9842de54 (patch)
tree53e30be0bb665d66a9350fe58d22697c4c0a860e /src/mailman/config/config.py
parent0f85fb344688e1982e9320e79b7fb38eefc1ac53 (diff)
downloadmailman-bf8b285acb8c2500e52ae2582f27513b9842de54.tar.gz
mailman-bf8b285acb8c2500e52ae2582f27513b9842de54.tar.zst
mailman-bf8b285acb8c2500e52ae2582f27513b9842de54.zip
Major terminology shift:
* Queue runners are now called just 'Runners' since several of them don't manage queue directories. * Ban the term 'qrunner' too. * The master queue runner watcher should now just be called the 'master' or the 'master runner'. * bin/qrunner -> bin/runner * mailman.qrunner log file -> mailman.runner * master-qrunner.lck -> master.lck * master-qrunner.pid -> master.pid Also: * Remove some obsolete files * Begin the .txt -> .rst renaming
Diffstat (limited to 'src/mailman/config/config.py')
-rw-r--r--src/mailman/config/config.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mailman/config/config.py b/src/mailman/config/config.py
index 4b2e9749d..c687777a3 100644
--- a/src/mailman/config/config.py
+++ b/src/mailman/config/config.py
@@ -160,8 +160,8 @@ class Configuration:
# environment is not set. Because the var_dir setting in the config
# file could be a relative path, and because 'bin/mailman start'
# chdirs to $VAR_DIR, without this subprocesses bin/master and
- # bin/qrunner will create $VAR_DIR hierarchies under $VAR_DIR when
- # that path is relative.
+ # bin/runner will create $VAR_DIR hierarchies under $VAR_DIR when that
+ # path is relative.
var_dir = os.environ.get('MAILMAN_VAR_DIR', category.var_dir)
substitutions = dict(
argv = bin_dir,
@@ -237,9 +237,9 @@ class Configuration:
makedirs(directory)
@property
- def qrunner_configs(self):
- """Iterate over all the qrunner configuration sections."""
- for section in self._config.getByCategory('qrunner', []):
+ def runner_configs(self):
+ """Iterate over all the runner configuration sections."""
+ for section in self._config.getByCategory('runner', []):
yield section
@property