Commit b74b6d5f authored by rniwa@webkit.org's avatar rniwa@webkit.org

Sheriffbot build fix. Don't emit empty lines on IRC.

* Scripts/webkitpy/tool/bot/irc_command.py:
(LastGreenRevision.execute):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104760 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 1e19fe79
2012-01-11 Ryosuke Niwa <rniwa@webkit.org>
Sheriffbot build fix. Don't emit empty lines on IRC.
* Scripts/webkitpy/tool/bot/irc_command.py:
(LastGreenRevision.execute):
2012-01-11 Ryosuke Niwa <rniwa@webkit.org>
last-green-revision should report the revision that succeeded on all bots
......@@ -59,7 +59,8 @@ class LastGreenRevision(IRCCommand):
return "%s: Usage: last-green-revision BUILDER_NAME" % nick
result = tool.buildbot.last_green_revision(' '.join(args))
for line in result.split('\n'):
tool.irc().post("%s: %s" % (nick, line))
if line:
tool.irc().post("%s: %s" % (nick, line))
class Restart(IRCCommand):
......
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