Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(539)

Unified Diff: git_cl/PRESUBMIT.py

Issue 6501001: Fix a bug in git_cl/PRESUBMIT.py causing it to fail. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698