Commit 63f78b0f authored by maruel@chromium.org's avatar maruel@chromium.org

Need to strip the config result value otherwise it contains a \n.

It was broken in 88979. Someone my limited testing missed that.

TBR=dpranke@chromium.org
BUG=
TEST=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@88987 0039d316-1c4b-4281-b951-d872f2087c98
parent e424b220
......@@ -533,7 +533,7 @@ or verify this branch is set up to track another (via the --track argument to
'%s...' % (upstream_branch)]).strip()
if not author:
author = RunGit(['config', 'user.email'])
author = RunGit(['config', 'user.email']).strip()
change = presubmit_support.GitChange(
name,
description,
......
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