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

Unified Diff: gclient_utils.py

Issue 6897034: Fix constructor arguments to OSError. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 9 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: gclient_utils.py
diff --git a/gclient_utils.py b/gclient_utils.py
index 6154974823e4d91808ae8a14750a78bef48d9b54..9953223898e03cbff726d2984a03bdf96e583b31 100644
--- a/gclient_utils.py
+++ b/gclient_utils.py
@@ -32,7 +32,7 @@ class Error(Exception):
class CheckCallError(OSError, Error):
"""CheckCall() returned non-0."""
def __init__(self, command, cwd, returncode, stdout, stderr=None):
- OSError.__init__(self, command, cwd, returncode, stdout, stderr)
+ OSError.__init__(self, command, cwd, returncode)
Error.__init__(self, command)
self.command = command
self.cwd = cwd
« 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