diff options
| -rw-r--r-- | pyramid/scripts/pshell.py | 4 |
1 files 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): |
