Add more logging. Useful to understand git try slowness.

Review URL: http://codereview.chromium.org/6247008

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@71602 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
thakis@chromium.org
2011-01-17 18:38:07 +00:00
parent e0c16f9f67
commit 3487f7f45f
2 changed files with 6 additions and 0 deletions

View File

@@ -87,6 +87,7 @@ def CheckCall(command, print_error=True, **kwargs):
Works on python 2.4
"""
logging.info("CheckCall(%s)" % command)
try:
stderr = None
if not print_error:
@@ -98,6 +99,7 @@ def CheckCall(command, print_error=True, **kwargs):
if process.returncode:
raise CheckCallError(command, kwargs.get('cwd', None), process.returncode,
std_out, std_err)
logging.info("CheckCall done")
return std_out, std_err