Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50023db commit 55fd90cCopy full SHA for 55fd90c
1 file changed
ftplugin/python/ipy.vim
@@ -568,6 +568,8 @@ def set_pid():
568
pid = int(child['content']['user_variables']['_pid'])
569
except TypeError: # change in IPython 1.0.dev moved this out
570
pid = int(child['content']['user_variables']['_pid']['data']['text/plain'])
571
+ except KeyError: # change in IPython 1.0.dev moved this out
572
+ echo("Could not get PID information, kernel not running Python?")
573
return pid
574
575
0 commit comments