summaryrefslogtreecommitdiff
path: root/mailman/options.py
diff options
context:
space:
mode:
authorBarry Warsaw2008-12-31 18:26:08 -0500
committerBarry Warsaw2008-12-31 18:26:08 -0500
commit996f7ea88ad5eaee7b7c7df5b113dbf6ce896e55 (patch)
treefccf6fa070e9ea90d6834491f4406d803473e8da /mailman/options.py
parent03d01d66436661ef7d1e6a80401a6ed232d02718 (diff)
downloadmailman-996f7ea88ad5eaee7b7c7df5b113dbf6ce896e55.tar.gz
mailman-996f7ea88ad5eaee7b7c7df5b113dbf6ce896e55.tar.zst
mailman-996f7ea88ad5eaee7b7c7df5b113dbf6ce896e55.zip
Diffstat (limited to 'mailman/options.py')
-rw-r--r--mailman/options.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/mailman/options.py b/mailman/options.py
index adfe26cd9..81870ee3d 100644
--- a/mailman/options.py
+++ b/mailman/options.py
@@ -95,16 +95,18 @@ class Options:
'-C', '--config',
help=_('Alternative configuration file to use'))
- def initialize(self, propagate_logs=False):
+ def initialize(self, propagate_logs=None):
"""Initialize the configuration system.
After initialization of the configuration system, perform sanity
checks. We do it in this order because some sanity checks require the
configuration to be initialized.
- :param propagate_logs: Flag specifying whether log messages in
- sub-loggers should be propagated to the master logger (and hence
- to the root logger).
+ :param propagate_logs: Optional flag specifying whether log messages
+ in sub-loggers should be propagated to the master logger (and
+ hence to the root logger). If not given, propagation is taken
+ from the configuration files.
+ :type propagate_logs: bool or None.
"""
initialize(self.options.config, propagate_logs=propagate_logs)
self.sanity_check()