Closed
Bug 1318488
Opened 8 years ago
Closed 8 years ago
[mozlint] Use sys.stdout.encoding when printing formatter output
Categories
(Developer Infrastructure :: Lint and Formatting, defect)
Developer Infrastructure
Lint and Formatting
Tracking
(firefox53 fixed)
RESOLVED
FIXED
mozilla53
Tracking | Status | |
---|---|---|
firefox53 | --- | fixed |
People
(Reporter: ahal, Assigned: ahal)
References
Details
Attachments
(1 file)
Mark was hitting a UnicodeDecodeError on windows. He figured out that: https://dxr.mozilla.org/mozilla-central/source/python/mozlint/mozlint/cli.py#105 Should be something like "sys.stdout.encoding or 'ascii'" instead. This fixed the issue for him and I verified it on Linux as well.
Comment hidden (mozreview-request) |
Comment 2•8 years ago
|
||
Thanks! I put a slightly different patch up in bug 1318496 - I'll flag Steven for review on that too, then he can choose which one he likes better and close the other as a dupe :)
Comment 3•8 years ago
|
||
mozreview-review |
Comment on attachment 8811948 [details] Bug 1318488 - [mozlint] Use sys.stdout.encoding when printing formatter's output, https://reviewboard.mozilla.org/r/93824/#review94660
Attachment #8811948 -
Flags: review?(smacleod) → review+
Comment 4•8 years ago
|
||
mozreview-review-reply |
Comment on attachment 8811948 [details] Bug 1318488 - [mozlint] Use sys.stdout.encoding when printing formatter's output, https://reviewboard.mozilla.org/r/93824/#review94660 Bah, meant to say you might want to update the comment above things a bit though before landing, as it's not as accurate anymore.
Comment hidden (mozreview-request) |
Pushed by ahalberstadt@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/43556298f164 [mozlint] Use sys.stdout.encoding when printing formatter's output, r=smacleod
Comment 8•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/43556298f164
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
Updated•6 years ago
|
Product: Testing → Firefox Build System
Updated•2 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•