From ce1d0f0ea126fc8d1e90e0a85a5e735ac34afbae Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Mon, 21 Nov 2011 19:01:18 -0600 Subject: bpython doesn't actually use a factory --- pyramid/scripts/pshell.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyramid/scripts/pshell.py b/pyramid/scripts/pshell.py index 3fbfa5e62..8cf1a4b39 100644 --- a/pyramid/scripts/pshell.py +++ b/pyramid/scripts/pshell.py @@ -178,11 +178,11 @@ class PShellCommand(object): if BPShellFactory is None: # pragma: no cover try: from bpython import embed - BPShellFactory = embed + BPShell = embed except ImportError: return None def shell(env, help): - BPShell = BPShellFactory(locals_=env, banner=help + '\n') + BPShell(locals_=env, banner=help + '\n') return shell def make_ipython_v0_11_shell(self, IPShellFactory=None): -- cgit v1.2.3