diff options
author | Conley Owens <cco3@android.com> | 2012-10-25 10:03:36 -0700 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2012-10-25 10:03:37 -0700 |
commit | 608aff7f624e35348ff9fab74bad1d6921944238 (patch) | |
tree | e1bdbb8af5927dd226d8e22dc382fd24c4cdfa5e /editor.py | |
parent | 13657c407d0424d0866993bea39ed01094caa1c1 (diff) | |
parent | a5be53f9c809009e67f217c00b8f30246aacc237 (diff) | |
download | git-repo-608aff7f624e35348ff9fab74bad1d6921944238.tar.gz |
Merge "Use modern Python exception syntax"
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: |