Commit c1715ec2 authored by maruel@chromium.org's avatar maruel@chromium.org

Make logging a bit shorter on Rietveld().add_comment().

It's done for the Commit Queue.

TBR=csharp@chromium.org
BUG=


Review URL: https://chromiumcodereview.appspot.com/11941019

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@177704 0039d316-1c4b-4281-b951-d872f2087c98
parent 40e5d3df
......@@ -246,7 +246,7 @@ class Rietveld(object):
tail = '…\n(message too large)'
if len(message) > max_message:
message = message[:max_message-len(tail)] + tail
logging.info('issue %d; comment: %s' % (issue, message))
logging.info('issue %d; comment: %s' % (issue, message.strip()))
return self.post('/%d/publish' % issue, [
('xsrf_token', self.xsrf_token()),
('message', message),
......
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