Title: [149133] trunk/Tools
- Revision
- 149133
- Author
- [email protected]
- Date
- 2013-04-25 12:50:03 -0700 (Thu, 25 Apr 2013)
Log Message
Build fix. Forgot to merge args.
* Scripts/webkitpy/tool/bot/irc_command.py:
(Hi.execute):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (149132 => 149133)
--- trunk/Tools/ChangeLog 2013-04-25 19:44:20 UTC (rev 149132)
+++ trunk/Tools/ChangeLog 2013-04-25 19:50:03 UTC (rev 149133)
@@ -1,5 +1,12 @@
2013-04-25 Ryosuke Niwa <[email protected]>
+ Build fix. Forgot to merge args.
+
+ * Scripts/webkitpy/tool/bot/irc_command.py:
+ (Hi.execute):
+
+2013-04-25 Ryosuke Niwa <[email protected]>
+
webkitbot should recognize its own nickname in greetings.
https://bugs.webkit.org/show_bug.cgi?id=115196
Modified: trunk/Tools/Scripts/webkitpy/tool/bot/irc_command.py (149132 => 149133)
--- trunk/Tools/Scripts/webkitpy/tool/bot/irc_command.py 2013-04-25 19:44:20 UTC (rev 149132)
+++ trunk/Tools/Scripts/webkitpy/tool/bot/irc_command.py 2013-04-25 19:50:03 UTC (rev 149133)
@@ -114,7 +114,7 @@
help_string = "Retrieves a random quip from Bugzilla."
def execute(self, nick, args, tool, sheriff):
- if len(args) and re.match(r'webkitbot_*\s*!\s*', args[0]):
+ if len(args) and re.match(r'webkitbot_*\s*!\s*', ' '.join(args)):
return "%s: hi %s!" % (nick, nick)
quips = tool.bugs.quips()
quips.append('"Only you can prevent forest fires." -- Smokey the Bear')
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes