diff options
| author | bwarsaw | 2002-02-12 04:43:36 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-02-12 04:43:36 +0000 |
| commit | 95dad6f5c22988cbba2b582fe13d7f6f66fd01c6 (patch) | |
| tree | a712bbdef6b8183619e24cbd85ac74911dff8e72 /scripts | |
| parent | 04092ba16b15fa1d0f03299e3029c6f50a2ea54d (diff) | |
| download | mailman-95dad6f5c22988cbba2b582fe13d7f6f66fd01c6.tar.gz mailman-95dad6f5c22988cbba2b582fe13d7f6f66fd01c6.tar.zst mailman-95dad6f5c22988cbba2b582fe13d7f6f66fd01c6.zip | |
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/driver | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/scripts/driver b/scripts/driver index 7920778cc..0b6480c7f 100644 --- a/scripts/driver +++ b/scripts/driver @@ -1,6 +1,6 @@ # -*- python -*- -# Copyright (C) 1998,1999,2000,2001 by the Free Software Foundation, Inc. +# Copyright (C) 1998,1999,2000,2001,2002 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -58,11 +58,7 @@ def run_main(): # *something* meaningful. logger = None try: - # Insert the relative path to the parent of the Mailman package - # directory, so we can pick up the Utils module. - import os - # sys gets imported at module level below. - sys.path.insert(0, os.pardir) + import paths # Map stderr to a logger, if possible. from Mailman.Logging.StampedLogger import StampedLogger logger = StampedLogger('error', |
