diff options
| author | J08nY | 2017-08-07 19:00:49 +0200 |
|---|---|---|
| committer | J08nY | 2017-08-07 19:00:49 +0200 |
| commit | ee9da27283ffb7adc836f764f1442cd06e3fb2a5 (patch) | |
| tree | 2b687f39714580b1de70baf9e3dd9957326c4989 /src/mailman/runners/docs | |
| parent | d107fd41f03b57f7731b60bb7ba921febc3ce3b9 (diff) | |
| parent | b902d7858d8302d248add89a5983c521c3581c4c (diff) | |
| download | mailman-plugin.tar.gz mailman-plugin.tar.zst mailman-plugin.zip | |
Diffstat (limited to 'src/mailman/runners/docs')
| -rw-r--r-- | src/mailman/runners/docs/command.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/runners/docs/command.rst b/src/mailman/runners/docs/command.rst index 0dbce2ee1..73bacf5b4 100644 --- a/src/mailman/runners/docs/command.rst +++ b/src/mailman/runners/docs/command.rst @@ -166,8 +166,8 @@ Similarly, to leave a mailing list, the user need only email the ``-leave`` or ... ... """) - >>> from mailman.interfaces.mailinglist import SubscriptionPolicy - >>> mlist.unsubscription_policy = SubscriptionPolicy.open + >>> from mailman.workflows.unsubscription import OpenUnsubscriptionPolicy + >>> mlist.unsubscription_policy = OpenUnsubscriptionPolicy >>> filebase = inject_message( ... mlist, msg, switchboard='command', subaddress='leave') >>> command.run() |
