summaryrefslogtreecommitdiff
path: root/src/mailman/config/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/config/config.py')
-rw-r--r--src/mailman/config/config.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mailman/config/config.py b/src/mailman/config/config.py
index 2b14419a2..d23bdda13 100644
--- a/src/mailman/config/config.py
+++ b/src/mailman/config/config.py
@@ -149,10 +149,10 @@ class Configuration:
# First, collect all variables in a substitution dictionary. $VAR_DIR
# is taken from the environment or from the configuration file if the
# 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/runner will create $VAR_DIR hierarchies under $VAR_DIR when that
- # path is relative.
+ # file could be a relative path, and because 'mailman start' chdirs to
+ # $VAR_DIR, without this subprocesses bin/master and 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(
cwd = os.getcwd(),