Merge ~cjwatson/launchpad:py3-extract-dpkg-source-output into launchpad:master
Proposed by
Colin Watson
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | 03e044f6923783543c7159393f303357dae93667 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/launchpad:py3-extract-dpkg-source-output |
Merge into: | launchpad:master |
Diff against target: |
12 lines (+2/-1) 1 file modified
lib/lp/archiveuploader/utils.py (+2/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Cristian Gonzalez (community) | Approve | ||
Review via email: mp+398983@code.launchpad.net |
Commit message
Convert dpkg-source output to text in extract_dpkg_source
Description of the change
We want the exception message to be text for Python 3, but we should be a little careful in case the output contains non-UTF-8 characters (perhaps dpkg-source mentioning an error related to a non-UTF-8 file name in the source package), so use `errors="replace"`.
To post a comment you must log in.
Looks good!