From f6d998b93b0dd8978eadc9abc4c3964e3fe66bf7 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Sun, 4 Jan 2009 19:41:05 -0500 Subject: Picking some (py)lint. --- mailman/queue/outgoing.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'mailman/queue/outgoing.py') diff --git a/mailman/queue/outgoing.py b/mailman/queue/outgoing.py index 14ba869dc..ed648cca0 100644 --- a/mailman/queue/outgoing.py +++ b/mailman/queue/outgoing.py @@ -18,19 +18,15 @@ """Outgoing queue runner.""" import os -import sys -import copy -import email import socket import logging from datetime import datetime from mailman import Defaults -from mailman import Message from mailman.config import config from mailman.core import errors -from mailman.queue import Runner, Switchboard +from mailman.queue import Runner from mailman.queue.bounce import BounceMixin # This controls how often _do_periodic() will try to deal with deferred @@ -67,7 +63,7 @@ class OutgoingRunner(Runner, BounceMixin): self._func(mlist, msg, msgdata) # Failsafe -- a child may have leaked through. if pid <> os.getpid(): - log.error('child process leaked thru: %s', modname) + log.error('child process leaked thru: %s', pid) os._exit(1) self._logged = False except socket.error: -- cgit v1.2.3-70-g09d2