------------------------------------------------------------
revno: 6763
committer: Barry Warsaw <[email protected]>
branch nick: 3.0
timestamp: Sun 2009-08-09 11:01:16 -0400
message:
  Rename files inside src/mailman/commands to indicate whether it's an email
  command (eml_ prefix) or a command line interface (cli_ prefix).
  
  Fix a test breakage.
renamed:
  src/mailman/commands/echo.py => src/mailman/commands/eml_echo.py
  src/mailman/commands/end.py => src/mailman/commands/eml_end.py
  src/mailman/commands/join.py => src/mailman/commands/eml_join.py
  src/mailman/commands/lists.py => src/mailman/commands/cli_lists.py
modified:
  src/mailman/commands/docs/lists.txt
  src/mailman/docs/hooks.txt


--
lp:mailman
https://code.launchpad.net/~mailman-coders/mailman/3.0

Your team Mailman Checkins is subscribed to branch lp:mailman.
To unsubscribe from this branch go to 
https://code.launchpad.net/~mailman-coders/mailman/3.0/+edit-subscription.
=== renamed file 'src/mailman/commands/lists.py' => 'src/mailman/commands/cli_lists.py'
=== modified file 'src/mailman/commands/docs/lists.txt'
--- src/mailman/commands/docs/lists.txt	2009-08-09 14:49:35 +0000
+++ src/mailman/commands/docs/lists.txt	2009-08-09 15:01:16 +0000
@@ -11,7 +11,7 @@
     ...     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

=== renamed file 'src/mailman/commands/echo.py' => 'src/mailman/commands/eml_echo.py'
=== renamed file 'src/mailman/commands/end.py' => 'src/mailman/commands/eml_end.py'
=== renamed file 'src/mailman/commands/join.py' => 'src/mailman/commands/eml_join.py'
=== modified file 'src/mailman/docs/hooks.txt'
--- src/mailman/docs/hooks.txt	2009-05-15 22:37:29 +0000
+++ src/mailman/docs/hooks.txt	2009-08-09 15:01:16 +0000
@@ -44,13 +44,13 @@
     ... """
 
 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 @@
 
     >>> call()
     pre-hook: 1
-    Using GNU Mailman 3...
     <BLANKLINE>
 
     >>> os.remove(config_path)
@@ -83,7 +82,6 @@
 
     >>> call()
     post-hook: 1
-    Using GNU Mailman 3...
     <BLANKLINE>
 
     >>> os.remove(config_path)
@@ -107,5 +105,4 @@
     >>> call()
     pre-hook: 1
     post-hook: 2
-    Using GNU Mailman 3...
     <BLANKLINE>

_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to