diff options
| author | Barry Warsaw | 2009-08-21 18:07:35 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2009-08-21 18:07:35 -0400 |
| commit | d1718e1a1cc289344d2a68c7430c492a4a7966b6 (patch) | |
| tree | d6b404e8544c83de5a3516a8206c7da92d9d088f /src/mailman/bin/withlist.py | |
| parent | da566eb047608ed2e65c71dd25979f01c825c843 (diff) | |
| download | mailman-d1718e1a1cc289344d2a68c7430c492a4a7966b6.tar.gz mailman-d1718e1a1cc289344d2a68c7430c492a4a7966b6.tar.zst mailman-d1718e1a1cc289344d2a68c7430c492a4a7966b6.zip | |
Diffstat (limited to 'src/mailman/bin/withlist.py')
| -rw-r--r-- | src/mailman/bin/withlist.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mailman/bin/withlist.py b/src/mailman/bin/withlist.py index 8f2d8a2b5..0fa704209 100644 --- a/src/mailman/bin/withlist.py +++ b/src/mailman/bin/withlist.py @@ -23,6 +23,7 @@ from mailman import interact from mailman.config import config from mailman.core.initialize import initialize from mailman.i18n import _ +from mailman.interfaces.listmanager import IListManager from mailman.version import MAILMAN_VERSION @@ -40,7 +41,7 @@ def do_list(listname, args, func): # XXX FIXME Remove this when this script is converted to # MultipleMailingListOptions. listname = listname.decode(sys.getdefaultencoding()) - mlist = config.db.list_manager.get(listname) + mlist = IListManager(config).get(listname) if mlist is None: print >> sys.stderr, _('Unknown list: $listname') else: |
