summaryrefslogtreecommitdiff
path: root/src/mailman/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/core')
-rw-r--r--src/mailman/core/runner.py2
-rw-r--r--src/mailman/core/switchboard.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/core/runner.py b/src/mailman/core/runner.py
index d193a1082..d0ff6f5ce 100644
--- a/src/mailman/core/runner.py
+++ b/src/mailman/core/runner.py
@@ -66,7 +66,7 @@ class Runner:
# Check whether the runner is queue runner or not; non-queue runner
# should not have queue_directory or switchboard instance.
if self.is_queue_runner:
- self.queue_directory = expand(section.path, substitutions)
+ self.queue_directory = expand(section.path, None, substitutions)
self.switchboard = Switchboard(
name, self.queue_directory, slice, numslices, True)
else:
diff --git a/src/mailman/core/switchboard.py b/src/mailman/core/switchboard.py
index 122d6b85d..cfbb371ba 100644
--- a/src/mailman/core/switchboard.py
+++ b/src/mailman/core/switchboard.py
@@ -263,5 +263,5 @@ def handle_ConfigurationUpdatedEvent(event):
if conf.path:
substitutions = config.paths
substitutions['name'] = name
- path = expand(conf.path, substitutions)
+ path = expand(conf.path, None, substitutions)
config.switchboards[name] = Switchboard(name, path)