diff options
| author | Mark Sapiro | 2016-10-25 20:15:31 -0700 |
|---|---|---|
| committer | Mark Sapiro | 2016-10-25 20:15:31 -0700 |
| commit | 6c1e74d93212ee6922ea8500dbecb4cf2eff1114 (patch) | |
| tree | e84b57bc7ed5060a637fdaeca35a63961299332f /src/mailman/commands/docs | |
| parent | 5db8a288a469b6e88f919c74ae634ac1120fddda (diff) | |
| download | mailman-6c1e74d93212ee6922ea8500dbecb4cf2eff1114.tar.gz mailman-6c1e74d93212ee6922ea8500dbecb4cf2eff1114.tar.zst mailman-6c1e74d93212ee6922ea8500dbecb4cf2eff1114.zip | |
Fix doctests to properly set unsubscription_policy = SubscriptionPolicy.open
where needed.
Diffstat (limited to 'src/mailman/commands/docs')
| -rw-r--r-- | src/mailman/commands/docs/membership.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mailman/commands/docs/membership.rst b/src/mailman/commands/docs/membership.rst index 5799e1e17..18c473c5b 100644 --- a/src/mailman/commands/docs/membership.rst +++ b/src/mailman/commands/docs/membership.rst @@ -223,6 +223,7 @@ address for the list, she is immediately removed. >>> from mailman.interfaces.mailinglist import SubscriptionPolicy >>> mlist_2.unsubscription_policy = SubscriptionPolicy.open + >>> mlist.unsubscription_policy = SubscriptionPolicy.open >>> results = Results() >>> print(leave.process(mlist_2, msg, {}, (), results)) ContinueProcessing.yes |
