From: Raphaël Barrois Date: Fri, 5 Nov 2010 20:14:38 +0000 (+0100) Subject: Add support for 'numeric' lists names (e.g 2009@faerix.p.org) X-Git-Tag: xorg/1.0.2~156 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=079b7d910ec56a6e0b54b3565921a6453189c538;p=platal.git Add support for 'numeric' lists names (e.g 2009@faerix.p.org) Signed-off-by: Raphaël Barrois --- 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):