From 2413e18a366024b9d64bf6eb7d8afee50f7441da Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Thu, 1 Jan 2009 17:07:06 -0500 Subject: All tests are now passing! --- mailman/queue/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mailman/queue') diff --git a/mailman/queue/__init__.py b/mailman/queue/__init__.py index 5aa72bb14..239c61326 100644 --- a/mailman/queue/__init__.py +++ b/mailman/queue/__init__.py @@ -343,7 +343,8 @@ class Runner: # permissions problem or a MemoryError due to a really large # message. Try to be graceful. try: - new_filebase = self._shunt.enqueue(msg, msgdata) + shunt = config.switchboards['shunt'] + new_filebase = shunt.enqueue(msg, msgdata) elog.error('SHUNTING: %s', new_filebase) self.switchboard.finish(filebase) except Exception, e: @@ -382,7 +383,7 @@ class Runner: if mlist is None: elog.error('Dequeuing message destined for missing list: %s', listname) - self._shunt.enqueue(msg, msgdata) + config.switchboards['shunt'].enqueue(msg, msgdata) return # Now process this message. We also want to set up the language # context for this message. The context will be the preferred -- cgit v1.3.1