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 | |
| parent | 5db8a288a469b6e88f919c74ae634ac1120fddda (diff) | |
| download | mailman-6c1e74d93212ee6922ea8500dbecb4cf2eff1114.tar.gz mailman-6c1e74d93212ee6922ea8500dbecb4cf2eff1114.tar.zst mailman-6c1e74d93212ee6922ea8500dbecb4cf2eff1114.zip | |
Diffstat (limited to 'src')
| -rw-r--r-- | src/mailman/commands/docs/membership.rst | 1 | ||||
| -rw-r--r-- | src/mailman/runners/docs/command.rst | 2 |
2 files changed, 2 insertions, 1 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 diff --git a/src/mailman/runners/docs/command.rst b/src/mailman/runners/docs/command.rst index 2243d4ff4..0dbce2ee1 100644 --- a/src/mailman/runners/docs/command.rst +++ b/src/mailman/runners/docs/command.rst @@ -167,7 +167,7 @@ Similarly, to leave a mailing list, the user need only email the ``-leave`` or ... """) >>> from mailman.interfaces.mailinglist import SubscriptionPolicy - >>> mlist.unsubscribe_policy = SubscriptionPolicy.open + >>> mlist.unsubscription_policy = SubscriptionPolicy.open >>> filebase = inject_message( ... mlist, msg, switchboard='command', subaddress='leave') >>> command.run() |
