diff options
Diffstat (limited to 'editor.py')
| -rw-r--r-- | editor.py | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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: |
