From ff3e4a87b15c781da3be6d0c9895a70ba4e16813 Mon Sep 17 00:00:00 2001 From: "maruel@chromium.org" Date: Sat, 23 Apr 2011 01:23:42 +0000 Subject: [PATCH] Fix constructor arguments to OSError. R=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/6897034 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@82763 0039d316-1c4b-4281-b951-d872f2087c98 --- gclient_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gclient_utils.py b/gclient_utils.py index 615497482..995322389 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