summaryrefslogtreecommitdiffstats
path: root/editor.py
diff options
context:
space:
mode:
authorConley Owens <cco3@android.com>2012-10-25 10:03:36 -0700
committerGerrit Code Review <noreply-gerritcodereview@google.com>2012-10-25 10:03:37 -0700
commit608aff7f624e35348ff9fab74bad1d6921944238 (patch)
treee1bdbb8af5927dd226d8e22dc382fd24c4cdfa5e /editor.py
parent13657c407d0424d0866993bea39ed01094caa1c1 (diff)
parenta5be53f9c809009e67f217c00b8f30246aacc237 (diff)
downloadgit-repo-608aff7f624e35348ff9fab74bad1d6921944238.tar.gz
Merge "Use modern Python exception syntax"
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: