summaryrefslogtreecommitdiff
path: root/Mailman/Queue/sbcache.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/Queue/sbcache.py')
-rw-r--r--Mailman/Queue/sbcache.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Mailman/Queue/sbcache.py b/Mailman/Queue/sbcache.py
index 68b0043e1..9b918fc5e 100644
--- a/Mailman/Queue/sbcache.py
+++ b/Mailman/Queue/sbcache.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2001 by the Free Software Foundation, Inc.
+# Copyright (C) 2001,2002 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -22,6 +22,5 @@ from Mailman.Queue.Switchboard import Switchboard
_sbcache = {}
def get_switchboard(qdir):
- global _sbcache
switchboard = _sbcache.setdefault(qdir, Switchboard(qdir))
return switchboard