summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBarry Warsaw2009-08-09 11:01:16 -0400
committerBarry Warsaw2009-08-09 11:01:16 -0400
commitdf000679f72bfbf1d40e7d1553b376cda524be95 (patch)
tree72ad1c8419984283bf53959a616ee903a64244af /src
parent9cb2d844baf1ec47bed25fd48e5762ab641b5498 (diff)
downloadmailman-df000679f72bfbf1d40e7d1553b376cda524be95.tar.gz
mailman-df000679f72bfbf1d40e7d1553b376cda524be95.tar.zst
mailman-df000679f72bfbf1d40e7d1553b376cda524be95.zip
Diffstat (limited to 'src')
-rw-r--r--src/mailman/commands/cli_lists.py (renamed from src/mailman/commands/lists.py)0
-rw-r--r--src/mailman/commands/docs/lists.txt2
-rw-r--r--src/mailman/commands/eml_echo.py (renamed from src/mailman/commands/echo.py)0
-rw-r--r--src/mailman/commands/eml_end.py (renamed from src/mailman/commands/end.py)0
-rw-r--r--src/mailman/commands/eml_join.py (renamed from src/mailman/commands/join.py)0
-rw-r--r--src/mailman/docs/hooks.txt9
6 files changed, 4 insertions, 7 deletions
diff --git a/src/mailman/commands/lists.py b/src/mailman/commands/cli_lists.py
index 6757099d9..6757099d9 100644
--- a/src/mailman/commands/lists.py
+++ b/src/mailman/commands/cli_lists.py
diff --git a/src/mailman/commands/docs/lists.txt b/src/mailman/commands/docs/lists.txt
index 85fe7edc2..6a9bee665 100644
--- a/src/mailman/commands/docs/lists.txt
+++ b/src/mailman/commands/docs/lists.txt
@@ -11,7 +11,7 @@ line. When there are no mailing lists, a helpful message is displayed.
... domains = None
... full = False
- >>> from mailman.commands.lists import Lists
+ >>> from mailman.commands.cli_lists import Lists
>>> command = Lists()
>>> command.process(FakeArgs)
No matching mailing lists found
diff --git a/src/mailman/commands/echo.py b/src/mailman/commands/eml_echo.py
index 30590acf8..30590acf8 100644
--- a/src/mailman/commands/echo.py
+++ b/src/mailman/commands/eml_echo.py
diff --git a/src/mailman/commands/end.py b/src/mailman/commands/eml_end.py
index a9298bc92..a9298bc92 100644
--- a/src/mailman/commands/end.py
+++ b/src/mailman/commands/eml_end.py
diff --git a/src/mailman/commands/join.py b/src/mailman/commands/eml_join.py
index d1f9dd816..d1f9dd816 100644
--- a/src/mailman/commands/join.py
+++ b/src/mailman/commands/eml_join.py
diff --git a/src/mailman/docs/hooks.txt b/src/mailman/docs/hooks.txt
index ddc4fe5fa..381caf6ed 100644
--- a/src/mailman/docs/hooks.txt
+++ b/src/mailman/docs/hooks.txt
@@ -44,13 +44,13 @@ We can set the pre-hook in the configuration file.
... """
The hooks are run in the second and third steps of initialization. However,
-we can't run those initialization steps in process, so call `bin/version` to
-force the hooks to run.
+we can't run those initialization steps in process, so call a command line
+script that will produce no output to force the hooks to run.
>>> import subprocess
>>> def call():
... proc = subprocess.Popen(
- ... 'bin/version',
+ ... 'bin/mailman lists -d ignore -b'.split(),
... cwd='../..', # testrunner runs from ./parts/test
... env=dict(MAILMAN_CONFIG_FILE=config_path,
... PYTHONPATH=config_directory),
@@ -61,7 +61,6 @@ force the hooks to run.
>>> call()
pre-hook: 1
- Using GNU Mailman 3...
<BLANKLINE>
>>> os.remove(config_path)
@@ -83,7 +82,6 @@ We can set the post-hook in the configuration file.
>>> call()
post-hook: 1
- Using GNU Mailman 3...
<BLANKLINE>
>>> os.remove(config_path)
@@ -107,5 +105,4 @@ We can set the pre- and post-hooks in the configuration file.
>>> call()
pre-hook: 1
post-hook: 2
- Using GNU Mailman 3...
<BLANKLINE>