summaryrefslogtreecommitdiffstats
path: root/contrib/python/ipython/py2/IPython/lib/editorhooks.py
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/python/ipython/py2/IPython/lib/editorhooks.py')
-rw-r--r--contrib/python/ipython/py2/IPython/lib/editorhooks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/python/ipython/py2/IPython/lib/editorhooks.py b/contrib/python/ipython/py2/IPython/lib/editorhooks.py
index 392557b5092..057580b3652 100644
--- a/contrib/python/ipython/py2/IPython/lib/editorhooks.py
+++ b/contrib/python/ipython/py2/IPython/lib/editorhooks.py
@@ -54,7 +54,7 @@ def install_editor(template, wait=False):
if sys.platform.startswith('win'):
cmd = shlex.split(cmd)
proc = subprocess.Popen(cmd, shell=True)
- if proc.wait() != 0:
+ if proc.wait() != 0:
raise TryNext()
if wait:
py3compat.input("Press Enter when done editing:")