Barry Warsaw pushed to branch click-cli at mailman / Mailman Core

Commits:
0b55836e by Barry Warsaw at 2017-07-16T11:38:38-04:00
Work around a CI environment problem.

- - - - -


1 changed file:

- src/mailman/app/docs/hooks.rst


Changes:

=====================================
src/mailman/app/docs/hooks.rst
=====================================
--- a/src/mailman/app/docs/hooks.rst
+++ b/src/mailman/app/docs/hooks.rst
@@ -53,10 +53,10 @@ script that will produce no output to force the hooks to 
run.
     >>> from mailman.testing.layers import ConfigLayer
     >>> def call():
     ...     exe = os.path.join(os.path.dirname(sys.executable), 'mailman')
-    ...     env = dict(
+    ...     env = os.environ.copy()
+    ...     env.update(
     ...         MAILMAN_CONFIG_FILE=config_path,
     ...         PYTHONPATH=config_directory,
-    ...         LANG=os.environ['LANG'],
     ...         )
     ...     test_cfg = os.environ.get('MAILMAN_EXTRA_TESTING_CFG')
     ...     if test_cfg is not None:



View it on GitLab: 
https://gitlab.com/mailman/mailman/commit/0b55836ec62d7d33a8cfc687774ec37a39474ede

---
View it on GitLab: 
https://gitlab.com/mailman/mailman/commit/0b55836ec62d7d33a8cfc687774ec37a39474ede
You're receiving this email because of your account on gitlab.com.
_______________________________________________
Mailman-checkins mailing list
Mailman-checkins@python.org
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to