From 079b7d910ec56a6e0b54b3565921a6453189c538 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Barrois?= Date: Fri, 5 Nov 2010 21:14:38 +0100 Subject: [PATCH] Add support for 'numeric' lists names (e.g 2009@faerix.p.org) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Raphaël Barrois --- bin/lists.rpc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/lists.rpc.py b/bin/lists.rpc.py index 5ce3c68..074c681 100755 --- a/bin/lists.rpc.py +++ b/bin/lists.rpc.py @@ -244,7 +244,7 @@ def list_call_dispatcher(method, userdesc, perms, vhost, *arg): if has_annotation(method, "root") and perms != "admin": return 0 if has_annotation(method, "mlist"): - listname = arg[0] + listname = str(arg[0]) arg = arg[1:] mlist = MailList.MailList(vhost + VHOST_SEP + listname.lower(), lock=0) if has_annotation(method, "admin") and not is_admin_on(userdesc, perms, mlist): -- 2.1.4