summaryrefslogtreecommitdiff
path: root/src/mailman/bin/master.py
diff options
context:
space:
mode:
authorAurélien Bompard2015-04-22 15:35:40 +0200
committerAurélien Bompard2015-04-22 15:35:40 +0200
commit34586187d3b126f2efd6cbbf2cc86eaae285d838 (patch)
treec0a022581831c9543c0c381193ae44f036deeecd /src/mailman/bin/master.py
parenta9a8752c1c0ee31a3fc594717527dc13dce5577b (diff)
downloadmailman-34586187d3b126f2efd6cbbf2cc86eaae285d838.tar.gz
mailman-34586187d3b126f2efd6cbbf2cc86eaae285d838.tar.zst
mailman-34586187d3b126f2efd6cbbf2cc86eaae285d838.zip
Diffstat (limited to 'src/mailman/bin/master.py')
-rw-r--r--src/mailman/bin/master.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mailman/bin/master.py b/src/mailman/bin/master.py
index 5ffe59647..968260595 100644
--- a/src/mailman/bin/master.py
+++ b/src/mailman/bin/master.py
@@ -373,11 +373,11 @@ class Loop:
var_dir = os.environ.get('MAILMAN_VAR_DIR')
if var_dir is not None:
env['MAILMAN_VAR_DIR'] = var_dir
- # For the testing framework, if this environment variable is set, pass
- # it on to the subprocess.
- coverage_env = os.environ.get('COVERAGE_PROCESS_START')
- if coverage_env is not None:
- env['COVERAGE_PROCESS_START'] = coverage_env
+ # For the testing framework, if these environment variables are set,
+ # pass them on to the subprocess.
+ for envvar in ('COVERAGE_PROCESS_START', 'MAILMAN_EXTRA_TESTING_CFG'):
+ if envvar in os.environ:
+ env[envvar] = os.environ[envvar]
args.append(env)
os.execle(*args)
# We should never get here.