summaryrefslogtreecommitdiff
path: root/pecan/commands
diff options
context:
space:
mode:
authorRyan Petrello <lists@ryanpetrello.com>2012-03-22 17:04:29 -0400
committerRyan Petrello <lists@ryanpetrello.com>2012-03-22 17:04:29 -0400
commit75a6aeab19235ed54a401932984ff3327500438e (patch)
treed78e9ec163ed7aa91873e0c19eba0482300990c0 /pecan/commands
parente82e7b5789bfdb31c1ef9f3715a4ab0c52bb25e4 (diff)
downloadpecan-75a6aeab19235ed54a401932984ff3327500438e.tar.gz
More ``pecan shell`` documentation, and a fix for ``bpython`` support.
Diffstat (limited to 'pecan/commands')
-rw-r--r--pecan/commands/shell.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/pecan/commands/shell.py b/pecan/commands/shell.py
index b562f1d..3a72558 100644
--- a/pecan/commands/shell.py
+++ b/pecan/commands/shell.py
@@ -74,10 +74,7 @@ class BPythonShell(object):
Embed an interactive bpython shell.
"""
- try:
- from bpython import embed
- except ImportError:
- pass
+ from bpython import embed
shell = embed(ns, ['-i'], banner)