summaryrefslogtreecommitdiff
path: root/mailman/bin/withlist.py
diff options
context:
space:
mode:
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')