Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 92ede39

Browse files
committed
allow HumanDocReadingError to raise, closes #6
echod only takes one argument, I should stop copy-pasting from vim-ipython, though maybe @mattjj and @chrisjordansquire didn't watch the 20 minute demo over at http://bipython.org/pages/demo.html I covered the `ipython console` step 10 minutes in.
1 parent b47f3b4 commit 92ede39

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

bipython/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -705,8 +705,8 @@ def echo(x):
705705
else:
706706
fullpath = find_connection_file(s.lstrip().rstrip())
707707
except IOError,e:
708-
self.echod(":IPython " + s + " failed", "Info")
709-
self.echod("^-- failed '" + s + "' not found", "Error")
708+
self.echod(":IPython " + s + " failed")
709+
self.echod("^-- failed '" + s + "' not found")
710710
return
711711
km = KernelManager(connection_file = fullpath)
712712
km.load_connection_file()
@@ -724,8 +724,8 @@ def echo(x):
724724
stdin_address=(ip, cfg['stdin_port']),
725725
hb_address=(ip, cfg['hb_port']))
726726
except KeyError,e:
727-
self.echod(":IPython " +s + " failed", "Info")
728-
self.echod("^-- failed --"+e.message.replace('_port','')+" not specified", "Error")
727+
self.echod(":IPython " +s + " failed")
728+
self.echod("^-- failed --"+e.message.replace('_port','')+" not specified")
729729
return
730730

731731
try:

0 commit comments

Comments
 (0)