summaryrefslogtreecommitdiff
path: root/mailman/bin/withlist.py
diff options
context:
space:
mode:
authorBarry Warsaw2008-03-25 22:28:57 -0400
committerBarry Warsaw2008-03-25 22:28:57 -0400
commitde9deb660c5d48a083f0c56916cca6aa0cb010b3 (patch)
tree3531c8eebaf6afd03909d6bc77e8b16907871eb5 /mailman/bin/withlist.py
parent1d4753554614991ad2f86efff34e52add6ad91f6 (diff)
downloadmailman-de9deb660c5d48a083f0c56916cca6aa0cb010b3.tar.gz
mailman-de9deb660c5d48a083f0c56916cca6aa0cb010b3.tar.zst
mailman-de9deb660c5d48a083f0c56916cca6aa0cb010b3.zip
Diffstat (limited to 'mailman/bin/withlist.py')
-rw-r--r--mailman/bin/withlist.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mailman/bin/withlist.py b/mailman/bin/withlist.py
index f19723fbc..c6a352319 100644
--- a/mailman/bin/withlist.py
+++ b/mailman/bin/withlist.py
@@ -37,6 +37,9 @@ def do_list(listname, args, func):
if '@' not in listname:
listname += '@' + config.DEFAULT_EMAIL_HOST
+ # XXX FIXME Remove this when this script is converted to
+ # MultipleMailingListOptions.
+ listname = listname.decode(sys.getdefaultencoding())
mlist = config.db.list_manager.get(listname)
if mlist is None:
print >> sys.stderr, _('Unknown list: $listname')