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:
mlist.subject_prefix = '['+listname+'] '
mlist.max_message_size = 0
- inverted_listname = '_'.join(listname.split('_', 1)[-1::-1])
+ inverted_listname = listname.lower() + '_' + vhost.lower()
mlist.msg_footer = "_______________________________________________\n" \
+ "Liste de diffusion %(real_name)s\n" \
+ "http://listes.polytechnique.org/members/" + inverted_listname