summaryrefslogtreecommitdiff
path: root/src/mailman/bin/qrunner.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/bin/qrunner.py')
-rw-r--r--src/mailman/bin/qrunner.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mailman/bin/qrunner.py b/src/mailman/bin/qrunner.py
index ac8cd7dd3..f98fd98c6 100644
--- a/src/mailman/bin/qrunner.py
+++ b/src/mailman/bin/qrunner.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2001-2010 by the Free Software Foundation, Inc.
+# Copyright (C) 2001-2011 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
@@ -25,6 +25,7 @@ __all__ = [
]
+import os
import sys
import signal
import logging
@@ -147,7 +148,7 @@ def make_qrunner(name, slice, range, once=False):
class_path = name
try:
qrclass = find_name(class_path)
- except ImportError as error:
+ except ImportError:
if os.environ.get('MAILMAN_UNDER_MASTER_CONTROL') is not None:
# Exit with SIGTERM exit code so the master watcher won't try to
# restart us.