Barry Warsaw pushed to branch master at mailman / Mailman
Commits: 66eaf22e by Barry Warsaw at 2016-10-25T10:07:53-04:00 Confirm unsubscriptions by default. - - - - - 1 changed file: - src/mailman/database/alembic/versions/448a93984c35_unsubscription_workflow.py Changes: ===================================== src/mailman/database/alembic/versions/448a93984c35_unsubscription_workflow.py ===================================== --- a/src/mailman/database/alembic/versions/448a93984c35_unsubscription_workflow.py +++ b/src/mailman/database/alembic/versions/448a93984c35_unsubscription_workflow.py @@ -30,11 +30,10 @@ def upgrade(): 'mailinglist', sa.sql.column('unsubscription_policy', Enum(SubscriptionPolicy)) ) - # There were no enforced subscription policy before, so all lists are - # considered open. + # There was no previous unsubscription policy. op.execute(mlist.update().values( {'unsubscription_policy': - op.inline_literal(SubscriptionPolicy.open)})) + op.inline_literal(SubscriptionPolicy.confirm)})) with op.batch_alter_table('workflowstate') as batch_op: batch_op.drop_column('name') View it on GitLab: https://gitlab.com/mailman/mailman/commit/66eaf22e4af9877a83c32ca96fa4756827a62b80
_______________________________________________ Mailman-checkins mailing list Mailman-checkins@python.org Unsubscribe: https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org