summaryrefslogtreecommitdiff
path: root/src/mailman/commands
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/commands')
-rw-r--r--src/mailman/commands/docs/inject.rst2
-rw-r--r--src/mailman/commands/docs/membership.rst4
-rw-r--r--src/mailman/commands/docs/qfile.rst1
3 files changed, 3 insertions, 4 deletions
diff --git a/src/mailman/commands/docs/inject.rst b/src/mailman/commands/docs/inject.rst
index 7150beac7..e8987128c 100644
--- a/src/mailman/commands/docs/inject.rst
+++ b/src/mailman/commands/docs/inject.rst
@@ -35,7 +35,7 @@ It's easy to find out which queues are available.
digest
in
lmtp
- news
+ nntp
out
pipeline
rest
diff --git a/src/mailman/commands/docs/membership.rst b/src/mailman/commands/docs/membership.rst
index 638705e91..3faccfe6a 100644
--- a/src/mailman/commands/docs/membership.rst
+++ b/src/mailman/commands/docs/membership.rst
@@ -292,8 +292,8 @@ Once Anne has verified her alternative address though, it can be used to
unsubscribe her from the list.
::
- >>> from datetime import datetime
- >>> address.verified_on = datetime.now()
+ >>> from mailman.utilities.datetime import now
+ >>> address.verified_on = now()
>>> results = Results()
>>> print leave.process(mlist, msg, {}, (), results)
diff --git a/src/mailman/commands/docs/qfile.rst b/src/mailman/commands/docs/qfile.rst
index 74ede1b64..8ec0a3952 100644
--- a/src/mailman/commands/docs/qfile.rst
+++ b/src/mailman/commands/docs/qfile.rst
@@ -59,7 +59,6 @@ Once we've figured out the file name of the shunted message, we can print it.
'bad': u'yes',
'bar': u'baz',
'foo': 7,
- u'received_time': ...
u'version': 3}
[----- end pickle -----]