summaryrefslogtreecommitdiff
path: root/src/mailman/bin/runner.py
diff options
context:
space:
mode:
authorBarry Warsaw2017-08-29 14:07:54 +0000
committerBarry Warsaw2017-08-29 14:07:54 +0000
commitae0042a90220119414f61aeb20c6b58bfacb8af2 (patch)
tree6fd2038427fbb36d8173fe338d277351cd19727b /src/mailman/bin/runner.py
parentf847e15407bfbf824236547bdf728a1ae00bd405 (diff)
downloadmailman-ae0042a90220119414f61aeb20c6b58bfacb8af2.tar.gz
mailman-ae0042a90220119414f61aeb20c6b58bfacb8af2.tar.zst
mailman-ae0042a90220119414f61aeb20c6b58bfacb8af2.zip
Diffstat (limited to 'src/mailman/bin/runner.py')
-rw-r--r--src/mailman/bin/runner.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mailman/bin/runner.py b/src/mailman/bin/runner.py
index bf84bc3e5..b4780dcfb 100644
--- a/src/mailman/bin/runner.py
+++ b/src/mailman/bin/runner.py
@@ -151,14 +151,12 @@ def main(ctx, config_file, verbose, list_runners, once, runner_spec):
run this way, the environment variable $MAILMAN_UNDER_MASTER_CONTROL
will be set which subtly changes some error handling behavior.
"""
-
global log
if runner_spec is None and not list_runners:
ctx.fail(_('No runner name given.'))
# Initialize the system. Honor the -C flag if given.
-
initialize(config_file, verbose)
log = logging.getLogger('mailman.runner')
if verbose: