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

Unified Diff: presubmit_support.py

Issue 14386022: Fix uninitialized variable error in presubmit_support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Remove out param from exception, it will never have data. Created 7 years, 8 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: presubmit_support.py
diff --git a/presubmit_support.py b/presubmit_support.py
index a1a1701af9db7bfe86c1b45674902e652a691fda..283016ff4fc7426d5cb1c50dea5a131fa36afa5f 100755
--- a/presubmit_support.py
+++ b/presubmit_support.py
@@ -1299,7 +1299,7 @@ def CallCommand(cmd_data):
return cmd_data.message('%s failed\n%s' % (cmd_data.name, out))
except OSError as e:
return cmd_data.message(
- '%s exec failure\n %s\n%s' % (cmd_data.name, e, out))
+ '%s exec failure\n %s' % (cmd_data.name, e))
def Main(argv):
« 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