Skip to content

Commit

Permalink
minimal change for non-python kernels to operate
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanov committed Dec 12, 2013
1 parent 50023db commit 55fd90c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ftplugin/python/ipy.vim
Expand Up @@ -568,6 +568,8 @@ def set_pid():
pid = int(child['content']['user_variables']['_pid'])
except TypeError: # change in IPython 1.0.dev moved this out
pid = int(child['content']['user_variables']['_pid']['data']['text/plain'])
except KeyError: # change in IPython 1.0.dev moved this out
echo("Could not get PID information, kernel not running Python?")
return pid


Expand Down

0 comments on commit 55fd90c

Please sign in to comment.