| Index: gclient_utils.py
|
| diff --git a/gclient_utils.py b/gclient_utils.py
|
| index b83f8c9f6740889d16a3db4ddd4e81b50e538bf9..5068563e980627b4a02059ebb199fe7890fa9653 100644
|
| --- a/gclient_utils.py
|
| +++ b/gclient_utils.py
|
| @@ -41,7 +41,7 @@ def CheckCall(command, cwd=None, print_error=True):
|
|
|
| Works on python 2.4
|
| """
|
| - logging.debug(command)
|
| + logging.debug("%s, cwd=%s" % (str(command), str(cwd)))
|
| try:
|
| stderr = None
|
| if not print_error:
|
| @@ -52,7 +52,7 @@ def CheckCall(command, cwd=None, print_error=True):
|
| stderr=stderr)
|
| output = process.communicate()[0]
|
| except OSError, e:
|
| - raise CheckCallError(command, cwd, errno, None)
|
| + raise CheckCallError(command, cwd, e.errno, None)
|
| if process.returncode:
|
| raise CheckCallError(command, cwd, process.returncode, output)
|
| return output
|
|
|