From: Pierre Habouzit Date: Mon, 27 Aug 2007 15:01:18 +0000 (+0200) Subject: non significant spaces suck, stage 3 X-Git-Tag: xorg/0.9.15~185 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=25112e7afb16a4625be821fa5ff45e8c640dc57b;p=platal.git non significant spaces suck, stage 3 Signed-off-by: Pierre Habouzit --- diff --git a/bin/lists.rpc.py b/bin/lists.rpc.py index 4c07c5e..ea7e412 100755 --- a/bin/lists.rpc.py +++ b/bin/lists.rpc.py @@ -172,7 +172,7 @@ def quote(s, is_header=False): else: h = s h = str('').join(re.split('[\x00-\x08\x0B-\x1f]+', h)) - return Utils.uquote(h.replace('&', '&').replace('>', '>').replace('<', '<')) + return Utils.uquote(h.replace('&', '&').replace('>', '>').replace('<', '<')) def to_forlife(email): try: diff --git a/upgrade/0.0.0_to_0.9.0/to_mailman.py b/upgrade/0.0.0_to_0.9.0/to_mailman.py index d16f2d9..6ceacf3 100755 --- a/upgrade/0.0.0_to_0.9.0/to_mailman.py +++ b/upgrade/0.0.0_to_0.9.0/to_mailman.py @@ -201,9 +201,9 @@ def create_list(vhost,listname,desc,advertise,modlevel,inslevel,owners,members): mlist.default_member_moderation = int(modlevel) is 2 mlist.generic_nonmember_action = int(modlevel) > 0 mlist.subscribe_policy = 2 * (int(inslevel) is 1) - + mlist.owner = owners - + mlist.subject_prefix = '['+listname+'] ' mlist.max_message_size = 0