diff options
| author | Barry Warsaw | 2009-01-01 17:07:06 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2009-01-01 17:07:06 -0500 |
| commit | 2413e18a366024b9d64bf6eb7d8afee50f7441da (patch) | |
| tree | e703dd9c4db3a3bfd1773c6d8d1fa7c403f720d8 /mailman/queue/__init__.py | |
| parent | 6e22adb521769a666d3db85384d619528d7982a0 (diff) | |
| download | mailman-2413e18a366024b9d64bf6eb7d8afee50f7441da.tar.gz mailman-2413e18a366024b9d64bf6eb7d8afee50f7441da.tar.zst mailman-2413e18a366024b9d64bf6eb7d8afee50f7441da.zip | |
All tests are now passing!
Diffstat (limited to 'mailman/queue/__init__.py')
| -rw-r--r-- | mailman/queue/__init__.py | 5 |
1 files changed, 3 insertions, 2 deletions
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 |
