Changeset 157201 in webkit


Ignore:
Timestamp:
Oct 9, 2013, 6:23:46 PM (12 years ago)
Author:
commit-queue@webkit.org
Message:

webkit-patch failure-reason fails with UnicodeDecodeError when name has non-ascii characters
https://bugs.webkit.org/show_bug.cgi?id=122552

Patch by Gustavo Noronha Silva <gustavo.noronha@collabora.com> on 2013-10-09
Reviewed by Darin Adler.

  • Scripts/webkitpy/common/checkout/commitinfo.py:

(CommitInfo.blame_string): ensure objects are made into unicode strings, not regular ones that
will cause UnicodeDecodeError for non-ascii characters.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r157194 r157201  
     12013-10-09  Gustavo Noronha Silva  <gustavo.noronha@collabora.com>
     2
     3        webkit-patch failure-reason fails with UnicodeDecodeError when name has non-ascii characters
     4        https://bugs.webkit.org/show_bug.cgi?id=122552
     5
     6        Reviewed by Darin Adler.
     7
     8        * Scripts/webkitpy/common/checkout/commitinfo.py:
     9        (CommitInfo.blame_string): ensure objects are made into unicode strings, not regular ones that
     10        will cause UnicodeDecodeError for non-ascii characters.
     11
    1122013-10-09  Alexey Proskuryakov  <ap@apple.com>
    213
  • trunk/Tools/Scripts/webkitpy/common/checkout/commitinfo.py

    r148527 r157201  
    9595        string += "  Bug: %s (%s)\n" % (self.bug_id(), bugs.bug_url_for_bug_id(self.bug_id()))
    9696        author_line = "\"%s\" <%s>" % (self.author_name(), self.author_email())
    97         string += "  Author: %s\n" % (self.author() or author_line)
    98         string += "  Reviewer: %s\n" % (self.reviewer() or self.reviewer_text())
    99         string += "  Committer: %s" % self.committer()
     97        string += "  Author: %s\n" % unicode(self.author() or author_line)
     98        string += "  Reviewer: %s\n" % unicode(self.reviewer() or self.reviewer_text())
     99        string += "  Committer: %s" % unicode(self.committer())
    100100        return string
Note: See TracChangeset for help on using the changeset viewer.