summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorbwarsaw2006-09-24 20:43:56 +0000
committerbwarsaw2006-09-24 20:43:56 +0000
commit99a4f0ef16e6dfddafbd396896afb97821528f16 (patch)
tree0cabc1a41a6532de1ad63a1b43bd2e941150d0ec /scripts
parent3da41d89a8c827383b2256b965fa1be8b179b9cd (diff)
downloadmailman-99a4f0ef16e6dfddafbd396896afb97821528f16.tar.gz
mailman-99a4f0ef16e6dfddafbd396896afb97821528f16.tar.zst
mailman-99a4f0ef16e6dfddafbd396896afb97821528f16.zip
As Mark discovered, we need to load the configuration in the driver script for
the web u/i to work. This also fixes the use of Utils.list_names() in the list and admin overviews. This API now returns a set, but the CGIs want to sort them, so we need to turn them back into lists. This change also elaborates an exception so that the list name is reported.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/driver2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/driver b/scripts/driver
index 20cbece10..4cf182dd4 100644
--- a/scripts/driver
+++ b/scripts/driver
@@ -68,6 +68,8 @@ def run_main():
log = None
try:
import paths
+ from Mailman.configuration import config
+ config.load()
# When running in non-stealth mode, we need to escape entities,
# otherwise we're vulnerable to cross-site scripting attacks.
try: