Title: [104760] trunk/Tools
- Revision
- 104760
- Author
- [email protected]
- Date
- 2012-01-11 16:07:32 -0800 (Wed, 11 Jan 2012)
Log Message
Sheriffbot build fix. Don't emit empty lines on IRC.
* Scripts/webkitpy/tool/bot/irc_command.py:
(LastGreenRevision.execute):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (104759 => 104760)
--- trunk/Tools/ChangeLog 2012-01-12 00:02:15 UTC (rev 104759)
+++ trunk/Tools/ChangeLog 2012-01-12 00:07:32 UTC (rev 104760)
@@ -1,5 +1,12 @@
2012-01-11 Ryosuke Niwa <[email protected]>
+ Sheriffbot build fix. Don't emit empty lines on IRC.
+
+ * Scripts/webkitpy/tool/bot/irc_command.py:
+ (LastGreenRevision.execute):
+
+2012-01-11 Ryosuke Niwa <[email protected]>
+
last-green-revision should report the revision that succeeded on all bots
https://bugs.webkit.org/show_bug.cgi?id=76109
Modified: trunk/Tools/Scripts/webkitpy/tool/bot/irc_command.py (104759 => 104760)
--- trunk/Tools/Scripts/webkitpy/tool/bot/irc_command.py 2012-01-12 00:02:15 UTC (rev 104759)
+++ trunk/Tools/Scripts/webkitpy/tool/bot/irc_command.py 2012-01-12 00:07:32 UTC (rev 104760)
@@ -59,7 +59,8 @@
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):
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes