From: Florent Bruneau Date: Sun, 16 Jan 2011 15:27:15 +0000 (+0100) Subject: I need tracing to debug that one. X-Git-Tag: xorg/1.0.2~32^2~1 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=42567b67d3f7f76cfd182e664376ae5ee1274434;p=platal.git I need tracing to debug that one. Signed-off-by: Florent Bruneau --- diff --git a/bin/lists.rpc.py b/bin/lists.rpc.py index df5e226..557b4c1 100755 --- a/bin/lists.rpc.py +++ b/bin/lists.rpc.py @@ -884,14 +884,18 @@ def create_list(userdesc, perms, vhost, listname, desc, advertise, modlevel, ins """ name = vhost.lower() + VHOST_SEP + listname.lower(); if Utils.list_exists(name): + print >> sys.stderr, "List ", name, " already exists" return 0 owner = [] for o in owners: - email = to_forlife(o)[0] + email = to_forlife(o) + print >> sys.stderr, "owner in list", o, email + email = email[0] if email is not None: owner.append(email) if len(owner) is 0: + print >> sys.stderr, "No owner found in ", owners return 0 mlist = MailList.MailList()