X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=upgrade%2F0.0.0_to_0.9.0%2Fto_mailman.py;h=be226398671f0825e628eb581108968239842b82;hb=1d49ff4ae684f13250408798f4b0a945797a5229;hp=d16f2d962d41a0d4e2ce85036284c83f580e4dfc;hpb=0337d704b62718d7c77106c0e4c4e26fb02beacf;p=platal.git 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..be22639 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 @@ -1,6 +1,6 @@ #!/usr/bin/env python #*************************************************************************** -#* Copyright (C) 2004 polytechnique.org * +#* Copyright (C) 2003-2010 Polytechnique.org * #* http://opensource.polytechnique.org/ * #* * #* This program is free software; you can redistribute it and/or modify * @@ -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