Commit ff3e4a87 authored by maruel@chromium.org's avatar maruel@chromium.org

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
parent e06cb4e5
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment