summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2011-11-21 19:01:18 -0600
committerMichael Merickel <michael@merickel.org>2011-11-21 20:47:55 -0600
commitce1d0f0ea126fc8d1e90e0a85a5e735ac34afbae (patch)
tree66b86a1e9b3ba946ec0c74463dda303effdaefdd
parent2cf5d280866e8936b0fee0952c89ebde164337ee (diff)
downloadpyramid-ce1d0f0ea126fc8d1e90e0a85a5e735ac34afbae.tar.gz
pyramid-ce1d0f0ea126fc8d1e90e0a85a5e735ac34afbae.tar.bz2
pyramid-ce1d0f0ea126fc8d1e90e0a85a5e735ac34afbae.zip
bpython doesn't actually use a factory
-rw-r--r--pyramid/scripts/pshell.py4
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):