From 73c87e9483ca298d2691abeb7ef98aba3237e9ce Mon Sep 17 00:00:00 2001 From: "maruel@chromium.org" Date: Fri, 9 Sep 2011 12:03:54 +0000 Subject: [PATCH] Some callers expect e.stderr to be filled on exception TBR=dpranke@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/7860038 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@100393 0039d316-1c4b-4281-b951-d872f2087c98 --- scm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scm.py b/scm.py index 9eab39aec..80e5fc4a5 100644 --- a/scm.py +++ b/scm.py @@ -89,7 +89,7 @@ class GIT(object): @staticmethod def Capture(args, **kwargs): return subprocess2.check_output( - ['git'] + args, stderr=subprocess2.VOID, **kwargs) + ['git'] + args, stderr=subprocess2.PIPE, **kwargs) @staticmethod def CaptureStatus(files, upstream_branch=None):