diff options
| author | msapiro | 2006-06-11 01:41:58 +0000 |
|---|---|---|
| committer | msapiro | 2006-06-11 01:41:58 +0000 |
| commit | df4b8b2543a49593bf972f37e66746107cb089de (patch) | |
| tree | 6262adccb994117eec9a4791be22286618200be1 | |
| parent | 6953990b450bb330f7202319f47d7af49ee9db13 (diff) | |
| download | mailman-df4b8b2543a49593bf972f37e66746107cb089de.tar.gz mailman-df4b8b2543a49593bf972f37e66746107cb089de.tar.zst mailman-df4b8b2543a49593bf972f37e66746107cb089de.zip | |
| -rw-r--r-- | bin/withlist | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/bin/withlist b/bin/withlist index ac0967b99..4209032d6 100644 --- a/bin/withlist +++ b/bin/withlist @@ -1,6 +1,6 @@ #! @PYTHON@ # -# Copyright (C) 1998-2004 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2006 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 @@ -14,7 +14,8 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +# USA. """General framework for interacting with a mailing list object. @@ -127,6 +128,7 @@ import paths from Mailman import Errors from Mailman import MailList from Mailman import Utils +from Mailman import loginit from Mailman.i18n import _ try: @@ -251,6 +253,10 @@ def main(): else: interact = False + # Initialize logging for those modules that use it. Log to stderr based + # on the VERBOSE flag. + loginit.initialize(propagate=VERBOSE) + # try to import the module for the callable func = None if run: |
