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 8fb5c6816..19d772b00 100644 --- a/src/mailman/runners/docs/command.rst +++ b/src/mailman/runners/docs/command.rst @@ -147,8 +147,8 @@ address, and the other is the results of his email command. ... print('Subject:', subject) ... if 'confirm' in str(subject): ... token = str(subject).split()[1].strip() - ... status = registrar.confirm(token) - ... assert status, 'Confirmation failed' + ... new_token = registrar.confirm(token) + ... assert new_token is None, 'Confirmation failed' Subject: The results of your email commands Subject: confirm ... |
