summaryrefslogtreecommitdiff
path: root/src/mailman/commands/docs
diff options
context:
space:
mode:
authorBarry Warsaw2014-12-15 22:09:42 -0500
committerBarry Warsaw2014-12-15 22:09:42 -0500
commit94247b82d1c030eac9be3eb4c461f830a99c2f63 (patch)
treed74e024988d81039c42fe1be1f2e15b519561690 /src/mailman/commands/docs
parenta201f7ed4119cecd099a60ab220a3e360320865e (diff)
downloadmailman-94247b82d1c030eac9be3eb4c461f830a99c2f63.tar.gz
mailman-94247b82d1c030eac9be3eb4c461f830a99c2f63.tar.zst
mailman-94247b82d1c030eac9be3eb4c461f830a99c2f63.zip
Diffstat (limited to 'src/mailman/commands/docs')
-rw-r--r--src/mailman/commands/docs/members.rst2
-rw-r--r--src/mailman/commands/docs/qfile.rst6
2 files changed, 2 insertions, 6 deletions
diff --git a/src/mailman/commands/docs/members.rst b/src/mailman/commands/docs/members.rst
index 5ec1521a5..28f238f31 100644
--- a/src/mailman/commands/docs/members.rst
+++ b/src/mailman/commands/docs/members.rst
@@ -236,7 +236,7 @@ taken from standard input.
... 'fperson@example.com (Fred Person)',
... ):
... print(address, file=fp)
- >>> fp.seek(0)
+ >>> filepos = fp.seek(0)
>>> import sys
>>> sys.stdin = fp
diff --git a/src/mailman/commands/docs/qfile.rst b/src/mailman/commands/docs/qfile.rst
index f4732e3be..e097ebf97 100644
--- a/src/mailman/commands/docs/qfile.rst
+++ b/src/mailman/commands/docs/qfile.rst
@@ -54,11 +54,7 @@ Once we've figured out the file name of the shunted message, we can print it.
I borkeded Mailman.
<BLANKLINE>
<----- start object 2 ----->
- { '_parsemsg': False,
- 'bad': 'yes',
- 'bar': 'baz',
- 'foo': 7,
- 'version': 3}
+ {'_parsemsg': False, 'bad': 'yes', 'bar': 'baz', 'foo': 7, 'version': 3}
[----- end pickle -----]
Maybe we don't want to print the contents of the file though, in case we want