diff options
Diffstat (limited to 'pygerrit/ssh.py')
| -rw-r--r-- | pygerrit/ssh.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygerrit/ssh.py b/pygerrit/ssh.py index 712613c..2a019f5 100644 --- a/pygerrit/ssh.py +++ b/pygerrit/ssh.py @@ -122,6 +122,6 @@ class GerritSSHClient(SSHClient): gerrit_command.append(command) try: stdin, stdout, stderr = self.exec_command(" ".join(gerrit_command)) - except SSHException, err: + except SSHException as err: raise GerritError("Command execution error: %s" % err) return GerritSSHCommandResult(stdin, stdout, stderr) |
