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
experimental/szager/collated-output
maruel@chromium.org 14 years ago
parent e06cb4e55d
commit ff3e4a87b1

@ -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

Loading…
Cancel
Save