summaryrefslogtreecommitdiff
path: root/src/mailman/core/initialize.py
diff options
context:
space:
mode:
authorBarry Warsaw2009-12-10 22:32:25 -0500
committerBarry Warsaw2009-12-10 22:32:25 -0500
commit8938d65327611dded72c7876ffe52e4d4d12ce76 (patch)
tree7e2d5c354dd53f1d3f8c42b4a11a9b58b2c2fcb1 /src/mailman/core/initialize.py
parentfbc81f61609ce0504245934d9bed0690fbd331a7 (diff)
downloadmailman-8938d65327611dded72c7876ffe52e4d4d12ce76.tar.gz
mailman-8938d65327611dded72c7876ffe52e4d4d12ce76.tar.zst
mailman-8938d65327611dded72c7876ffe52e4d4d12ce76.zip
Diffstat (limited to 'src/mailman/core/initialize.py')
-rw-r--r--src/mailman/core/initialize.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mailman/core/initialize.py b/src/mailman/core/initialize.py
index 707bb3f66..5da2209fd 100644
--- a/src/mailman/core/initialize.py
+++ b/src/mailman/core/initialize.py
@@ -58,6 +58,7 @@ from mailman.utilities.modules import call_name
def initialize_1(config_path=None, propagate_logs=None):
"""First initialization step.
+ * Zope component architecture
* The configuration system
* Run-time directories
* The logging subsystem
@@ -68,6 +69,8 @@ def initialize_1(config_path=None, propagate_logs=None):
:param propagate_logs: Should the log output propagate to stderr?
:type propagate_logs: boolean or None
"""
+ zcml = resource_string('mailman.config', 'configure.zcml')
+ xmlconfig.string(zcml)
# By default, set the umask so that only owner and group can read and
# write our files. Specifically we must have g+rw and we probably want
# o-rwx although I think in most cases it doesn't hurt if other can read
@@ -120,11 +123,8 @@ def initialize_2(debug=False):
def initialize_3():
"""Third initialization step.
- * Zope component architecture
* Post-hook
"""
- zcml = resource_string('mailman.config', 'configure.zcml')
- xmlconfig.string(zcml)
# Run the post-hook if there is one.
config = mailman.config.config
if config.mailman.post_hook: