* Scripts/webkitpy/tool/bot/irc_command.py:
(LastGreenRevision.execute):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@104760
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+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
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):