diff options
| author | Barry Warsaw | 2009-01-03 05:13:41 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2009-01-03 05:13:41 -0500 |
| commit | e5a96f14fb0fe8196e7b3ea0306c9f57f45c3110 (patch) | |
| tree | e456327300678100b6cc6dfa625c7bc31a9f34a4 /mailman/bin/withlist.py | |
| parent | c0522afd1754c7a18c40c9ebaa6c2ef406929170 (diff) | |
| download | mailman-e5a96f14fb0fe8196e7b3ea0306c9f57f45c3110.tar.gz mailman-e5a96f14fb0fe8196e7b3ea0306c9f57f45c3110.tar.zst mailman-e5a96f14fb0fe8196e7b3ea0306c9f57f45c3110.zip | |
Diffstat (limited to 'mailman/bin/withlist.py')
| -rw-r--r-- | mailman/bin/withlist.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mailman/bin/withlist.py b/mailman/bin/withlist.py index 8862501d5..f180f5525 100644 --- a/mailman/bin/withlist.py +++ b/mailman/bin/withlist.py @@ -154,7 +154,10 @@ def main(): global LAST_MLIST, VERBOSE parser, opts, args = parseargs() - initialize(opts.config, not opts.quiet) + config_file = (os.getenv('MAILMAN_CONFIG_FILE') + if opts.config is None + else opts.config) + initialize(config_file, not opts.quiet) VERBOSE = not opts.quiet # The default for interact is true unless -r was given |
