summaryrefslogtreecommitdiff
path: root/src/mailman/core
diff options
context:
space:
mode:
authorBarry Warsaw2016-07-16 15:44:07 -0400
committerBarry Warsaw2016-07-16 15:44:07 -0400
commitdbde6231ec897379ed38ed4cd015b8ab20ed5fa1 (patch)
tree1226d06a238314262a1d04d0bbf9c4dc0b72c309 /src/mailman/core
parent3387791beb7112dbe07664041f117fdcc20df53d (diff)
downloadmailman-dbde6231ec897379ed38ed4cd015b8ab20ed5fa1.tar.gz
mailman-dbde6231ec897379ed38ed4cd015b8ab20ed5fa1.tar.zst
mailman-dbde6231ec897379ed38ed4cd015b8ab20ed5fa1.zip
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)