WKR build fix. Always use ascii since irclib/ircbot doesn't support unicode.
[WebKit-https.git] / Tools / Scripts / webkitpy / tool / commands / newcommitbot.py
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)
-            self._tool.irc().post(self._summarize_commit_log(commit_log))
+            self._tool.irc().post(self._summarize_commit_log(commit_log).encode('ascii', 'ignore'))
 
         return