On Wed, Jan 1, 2020, at 8:38 AM, Mark Sapiro wrote:
> On 1/1/20 8:09 AM, ritwik p wrote:
> >
> > A doubt though:
> > I set-ed my list's `unsubscription_policy` to `confirm_then_moderate` and
> > it showed : <SubscriptionPolicy.confirm_then_moderate: 3>. What does "3"
> > mean (same thing for <SubscriptionPolicy.confirm: 1>) ? is it option number?
>
>
> SubscriptionPolicy is an enum. enums have names and numeric values. Look
> at the definition.
>
>
> > Also, I think the docs need to be updated, as when i set-ed my list's
> > `unsubscription_policy` to `confirm_then_moderate` in the mailman shell and
> > exited the shell, it reverted back to `confirm` and it took me quite some
> > time to figure out the command `commit()` to keep the mentioned change.
>
>
> In mailman shell everything you change is part of a transaction. At any
> point you can commit() to commit the transaction or abort() to abort it.
> exit() will exit without committing, but control-D will do an implicit
> commit upon exit.
I think it would be good to print this information in the banner when Mailman
shell starts up. I have created https://gitlab.com/mailman/mailman/issues/658
for this.
>
> --
> Mark Sapiro <m...@msapiro.net> The highway is for gamblers,
> San Francisco Bay Area, California better use your sense - B. Dylan
> _______________________________________________
> Mailman-Developers mailing list -- mailman-developers@python.org
> To unsubscribe send an email to mailman-developers-le...@python.org
> https://mail.python.org/mailman3/lists/mailman-developers.python.org/
> Mailman FAQ: https://wiki.list.org/x/AgA3
>
> Security Policy: https://wiki.list.org/x/QIA9
>
--
thanks,
Abhilash Raj (maxking)
_______________________________________________
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3
Security Policy: https://wiki.list.org/x/QIA9