From 06a2efea2f666b94eaf7e74bda798ed261fc47de Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Fri, 10 Aug 2012 11:36:46 -0400 Subject: fixed IPython debug shell for older IPython --- src/sbin/bcfg2-info | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3-1-g7c22