From bd22788cfca6bfa7d4f931b6ccf02ee192b7ceb6 Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Wed, 29 Jul 1998 19:40:03 +0000 Subject: run_main(): initialize logger and multi to sys.stderr. This is in case anything breaks between the start of this function and the creation of the real objects, otherwise the calls in the except branch will fail, kicking us back to a low-level exception. using sys.stderr isn't great, but it's better than nothing. --- scripts/driver | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts/driver') diff --git a/scripts/driver b/scripts/driver index 8bc207601..c85eb68bc 100644 --- a/scripts/driver +++ b/scripts/driver @@ -69,6 +69,11 @@ def run_main(): try: + # These will ensure that even if something between now and the + # creation of the real logger below fails, we can still get + # *something* meaningful + logger = sys.stderr + multi = sys.stderr # insert the relative path to the parent of the Mailman package # directory, so we can pick up the Utils module import os -- cgit v1.2.3-70-g09d2