diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-08-10 11:36:46 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-08-15 08:21:39 -0400 |
commit | 06a2efea2f666b94eaf7e74bda798ed261fc47de (patch) | |
tree | dfa21f82d99bb1eedceab74682aad163fbffd6cd /src/sbin | |
parent | 3fec6b5c7d22d814ce492edb7ca7af373f259d76 (diff) | |
download | bcfg2-06a2efea2f666b94eaf7e74bda798ed261fc47de.tar.gz bcfg2-06a2efea2f666b94eaf7e74bda798ed261fc47de.tar.bz2 bcfg2-06a2efea2f666b94eaf7e74bda798ed261fc47de.zip |
fixed IPython debug shell for older IPython
Diffstat (limited to 'src/sbin')
-rwxr-xr-x | src/sbin/bcfg2-info | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sbin/bcfg2-info b/src/sbin/bcfg2-info index 28f4d17ac..a8cc17a7b 100755 --- a/src/sbin/bcfg2-info +++ b/src/sbin/bcfg2-info @@ -155,7 +155,7 @@ def load_interpreters(): import IPython if hasattr(IPython, "Shell"): interpreters["ipython"] = lambda v: \ - IPython.Shell.IPShell(argv=[], user_ns=v).mainloop + IPython.Shell.IPShell(argv=[], user_ns=v).mainloop() best = "ipython" elif hasattr(IPython, "embed"): interpreters["ipython"] = lambda v: IPython.embed(user_ns=v) |