WKR build fix. Always use ascii since irclib/ircbot doesn't support unicode.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 18 Feb 2013 08:38:22 +0000 (08:38 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 18 Feb 2013 08:38:22 +0000 (08:38 +0000)
* Scripts/webkitpy/tool/commands/newcommitbot.py:
(NewCommitBot.next_work_item):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@143162 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/Scripts/webkitpy/tool/commands/newcommitbot.py

index 0e009b5d555eef0cc7ebf5c2550f808dec23fdf3..70060ed3ff11ab3fec9201dfd4ac3a1c2a6867b4 100644 (file)
@@ -1,3 +1,10 @@
+2013-02-18  Ryosuke Niwa  <rniwa@webkit.org>
+
+        WKR build fix. Always use ascii since irclib/ircbot doesn't support unicode.
+
+        * Scripts/webkitpy/tool/commands/newcommitbot.py:
+        (NewCommitBot.next_work_item):
+
 2013-02-17  Kangil Han  <kangil.han@samsung.com>
 
         Unreviewed. Add myself as a committer.
 2013-02-17  Kangil Han  <kangil.han@samsung.com>
 
         Unreviewed. Add myself as a committer.
index 7646320aab658dec1058750cb9261d99e300f8a5..64701913558ba0d5e6e8bb61e5185eb703643324 100644 (file)
@@ -81,7 +81,7 @@ class NewCommitBot(AbstractQueue, StepSequenceErrorHandler):
         _log.info('Obtaining commit logs for %d revisions' % len(revisions))
         for revision in revisions:
             commit_log = self._tool.scm().svn_commit_log(revision)
         _log.info('Obtaining commit logs for %d revisions' % len(revisions))
         for revision in revisions:
             commit_log = self._tool.scm().svn_commit_log(revision)
-            self._tool.irc().post(self._summarize_commit_log(commit_log))
+            self._tool.irc().post(self._summarize_commit_log(commit_log).encode('ascii', 'ignore'))
 
         return
 
 
         return