diff options
| author | amitt001 | 2016-10-04 01:53:50 +0530 |
|---|---|---|
| committer | amitt001 | 2016-10-10 11:41:15 +0530 |
| commit | e8dd4420597bb5f041901894648b6758ce97fb32 (patch) | |
| tree | 36ea1fdce84322095d611151b4f82e81da7dbbb1 /src/mailman/commands/cli_withlist.py | |
| parent | 497654af9a2aed3168c36b4c2f46cab53db0452e (diff) | |
| download | mailman-e8dd4420597bb5f041901894648b6758ce97fb32.tar.gz mailman-e8dd4420597bb5f041901894648b6758ce97fb32.tar.zst mailman-e8dd4420597bb5f041901894648b6758ce97fb32.zip | |
Diffstat (limited to 'src/mailman/commands/cli_withlist.py')
| -rw-r--r-- | src/mailman/commands/cli_withlist.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/commands/cli_withlist.py b/src/mailman/commands/cli_withlist.py index 306fb846a..23250c1a5 100644 --- a/src/mailman/commands/cli_withlist.py +++ b/src/mailman/commands/cli_withlist.py @@ -49,13 +49,13 @@ def _start_ipython1(overrides, banner, *, debug=False): if debug: print_exc() return None - return InteractiveShellEmbed(banner1=banner, user_ns=overrides) + return InteractiveShellEmbed.instance(banner1=banner, user_ns=overrides) def _start_ipython4(overrides, banner, *, debug=False): try: from IPython.terminal.embed import InteractiveShellEmbed - shell = InteractiveShellEmbed() + shell = InteractiveShellEmbed.instance() except ImportError: if debug: print_exc() |
