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
diff --git a/git_cl.py b/git_cl.py
index 7e76786..94bf1ea 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -533,7 +533,7 @@
'%s...' % (upstream_branch)]).strip()
if not author:
- author = RunGit(['config', 'user.email'])
+ author = RunGit(['config', 'user.email']).strip()
change = presubmit_support.GitChange(
name,
description,