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 /git_command.py | |
parent | 13657c407d0424d0866993bea39ed01094caa1c1 (diff) | |
parent | a5be53f9c809009e67f217c00b8f30246aacc237 (diff) | |
download | git-repo-608aff7f624e35348ff9fab74bad1d6921944238.tar.gz |
Merge "Use modern Python exception syntax"
Diffstat (limited to 'git_command.py')
-rw-r--r-- | git_command.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git_command.py b/git_command.py index 82709b91..a40e6c05 100644 --- a/git_command.py +++ b/git_command.py | |||
@@ -217,7 +217,7 @@ class GitCommand(object): | |||
217 | stdin = stdin, | 217 | stdin = stdin, |
218 | stdout = stdout, | 218 | stdout = stdout, |
219 | stderr = stderr) | 219 | stderr = stderr) |
220 | except Exception, e: | 220 | except Exception as e: |
221 | raise GitError('%s: %s' % (command[1], e)) | 221 | raise GitError('%s: %s' % (command[1], e)) |
222 | 222 | ||
223 | if ssh_proxy: | 223 | if ssh_proxy: |