summaryrefslogtreecommitdiffstats
path: root/editor.py
diff options
context:
space:
mode:
Diffstat (limited to 'editor.py')
-rw-r--r--editor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor.py b/editor.py
index 62afbb91..489c6cd3 100644
--- a/editor.py
+++ b/editor.py
@@ -91,7 +91,7 @@ least one of these before using this command."""
91 91
92 try: 92 try:
93 rc = subprocess.Popen(args, shell=shell).wait() 93 rc = subprocess.Popen(args, shell=shell).wait()
94 except OSError, e: 94 except OSError as e:
95 raise EditorError('editor failed, %s: %s %s' 95 raise EditorError('editor failed, %s: %s %s'
96 % (str(e), editor, path)) 96 % (str(e), editor, path))
97 if rc != 0: 97 if rc != 0: