diff options
| author | Barry Warsaw | 2015-04-14 12:46:11 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2015-04-14 12:46:11 -0400 |
| commit | 2787473f0bd4ca3efeadb7f44c8f61c3695e7ecd (patch) | |
| tree | 4ba9e86dd16b53c623410e66c459dc394008b698 /src/mailman/runners/docs | |
| parent | 24c01dbd8e93acdc61884b3b9783a0e71fd6df23 (diff) | |
| download | mailman-2787473f0bd4ca3efeadb7f44c8f61c3695e7ecd.tar.gz mailman-2787473f0bd4ca3efeadb7f44c8f61c3695e7ecd.tar.zst mailman-2787473f0bd4ca3efeadb7f44c8f61c3695e7ecd.zip | |
Checkpointing.
Diffstat (limited to 'src/mailman/runners/docs')
| -rw-r--r-- | src/mailman/runners/docs/command.rst | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mailman/runners/docs/command.rst b/src/mailman/runners/docs/command.rst index 82ee33fbc..5cfbf7cfb 100644 --- a/src/mailman/runners/docs/command.rst +++ b/src/mailman/runners/docs/command.rst @@ -140,9 +140,7 @@ address, and the other is the results of his email command. >>> len(messages) 2 - >>> from mailman.interfaces.registrar import IRegistrar - >>> from zope.component import getUtility - >>> registrar = getUtility(IRegistrar) + >>> registrar = IRegistrar(mlist) >>> for item in messages: ... subject = item.msg['subject'] ... print('Subject:', subject) |
