From 99a4f0ef16e6dfddafbd396896afb97821528f16 Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Sun, 24 Sep 2006 20:43:56 +0000 Subject: 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. --- scripts/driver | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts/driver') 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: -- cgit v1.3.1