Index: git_cl/PRESUBMIT.py |
diff --git a/git_cl/PRESUBMIT.py b/git_cl/PRESUBMIT.py |
index aaeafaf38b9e72359dabf6583ec3ac110d179f3b..8d2b16050bfcee9aca92de2b1d2df7a28a72f6d7 100644 |
--- a/git_cl/PRESUBMIT.py |
+++ b/git_cl/PRESUBMIT.py |
@@ -63,7 +63,7 @@ def RunTests(input_api, output_api): |
proc.communicate() |
if proc.returncode != 0: |
output.append(output_api.PresubmitError('%s failed' % test)) |
- except setup_mock.Failure, e: |
+ except local_rietveld.Failure, e: |
output.append(output_api.PresubmitError('\n'.join(str(i) for i in e.args))) |
finally: |
server.stop_server() |