Descriptionmy_activity.py: Fix to work with non-ascii characters
The default encoding for python 2.7 strings is ascii. Some of
the titles of issues, such as http://crbug.com/477941, contain
non-ascii characters, and cause my_activity.py to throw an
exception. Re-encode the unicode title string to ascii with
the 'replace' option, to replace non-ascii characters with '?'.
R=maruel@chromium.org
BUG=none
TEST=Run `my_activity.py` with #477941 in my issues list; correctly
lists issues without throwing an exception.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=295425
Patch Set 1 #
Total comments: 1
Patch Set 2 : #Messages
Total messages: 7 (1 generated)
|