summaryrefslogtreecommitdiff
path: root/src/mailman/core/initialize.py
diff options
context:
space:
mode:
authorBarry Warsaw2012-07-02 16:08:58 -0400
committerBarry Warsaw2012-07-02 16:08:58 -0400
commit3e2231b8835820d240112e7e07cff2a369f178f2 (patch)
tree513c973ae93f36efe969793e1a8abb28efbfc7bd /src/mailman/core/initialize.py
parent762af9a7d81fe88327c37f29c851a4d6f7bdaa45 (diff)
downloadmailman-3e2231b8835820d240112e7e07cff2a369f178f2.tar.gz
mailman-3e2231b8835820d240112e7e07cff2a369f178f2.tar.zst
mailman-3e2231b8835820d240112e7e07cff2a369f178f2.zip
Diffstat (limited to 'src/mailman/core/initialize.py')
-rw-r--r--src/mailman/core/initialize.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mailman/core/initialize.py b/src/mailman/core/initialize.py
index 389a45f3b..255e22ed9 100644
--- a/src/mailman/core/initialize.py
+++ b/src/mailman/core/initialize.py
@@ -110,6 +110,10 @@ def initialize_1(config_path=None):
# o-rwx although I think in most cases it doesn't hurt if other can read
# or write the files.
os.umask(007)
+ # Initialize configuration event subscribers. This must be done before
+ # setting up the configuration system.
+ from mailman.utilities.passwords import initialize as initialize_passwords
+ initialize_passwords()
# config_path will be set if the command line argument -C is given. That
# case overrides all others. When not given on the command line, the
# configuration file is searched for in the file system.