Mercurial > kallithea
changeset 7342:ffacefade769
ishell: use traitlets.config and require ipython >= 4.0.0
Since version 4 was released in 2015, ishell has warned:
IPython/config.py:13: ShimWarning: The `IPython.config` package has been deprecated. You should import from traitlets.config instead.
"You should import from traitlets.config instead.", ShimWarning)
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Sun, 05 Aug 2018 22:38:05 +0200 |
parents | d1165b45e207 |
children | eca8f0c07162 |
files | kallithea/lib/paster_commands/ishell.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/lib/paster_commands/ishell.py Sun Aug 05 22:37:55 2018 +0200 +++ b/kallithea/lib/paster_commands/ishell.py Sun Aug 05 22:38:05 2018 +0200 @@ -44,7 +44,7 @@ def take_action(self, args): try: from IPython import embed - from IPython.config.loader import Config + from traitlets.config.loader import Config cfg = Config() cfg.InteractiveShellEmbed.confirm_exit = False embed(config=cfg, banner1="Kallithea IShell.")