Title: [154448] trunk/Tools
- Revision
- 154448
- Author
- [email protected]
- Date
- 2013-08-22 08:34:10 -0700 (Thu, 22 Aug 2013)
Log Message
WKR build fix. Somehow tool.bugs.quips() doesn't work in WKR so work around that.
* Scripts/webkitpy/tool/bot/irc_command.py:
(Hi.execute):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (154447 => 154448)
--- trunk/Tools/ChangeLog 2013-08-22 15:28:37 UTC (rev 154447)
+++ trunk/Tools/ChangeLog 2013-08-22 15:34:10 UTC (rev 154448)
@@ -1,3 +1,10 @@
+2013-08-22 Ryosuke Niwa <[email protected]>
+
+ WKR build fix. Somehow tool.bugs.quips() doesn't work in WKR so work around that.
+
+ * Scripts/webkitpy/tool/bot/irc_command.py:
+ (Hi.execute):
+
2013-08-22 Allan Sandfeld Jensen <[email protected]>
[Qt] DRT bug revealed/caused by r154300
Modified: trunk/Tools/Scripts/webkitpy/tool/bot/irc_command.py (154447 => 154448)
--- trunk/Tools/Scripts/webkitpy/tool/bot/irc_command.py 2013-08-22 15:28:37 UTC (rev 154447)
+++ trunk/Tools/Scripts/webkitpy/tool/bot/irc_command.py 2013-08-22 15:34:10 UTC (rev 154448)
@@ -116,6 +116,8 @@
def execute(self, nick, args, tool, sheriff):
if len(args) and re.match(sheriff.name() + r'_*\s*!\s*', ' '.join(args)):
return "%s: hi %s!" % (nick, nick)
+ if sheriff.name() == 'WKR': # For some unknown reason, WKR can't use tool.bugs.quips().
+ return "You're doing it wrong"
quips = tool.bugs.quips()
quips.append('"Only you can prevent forest fires." -- Smokey the Bear')
return random.choice(quips)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes