diff options
Diffstat (limited to 'src/mailman/runners/docs/command.rst')
| -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() |
