Merge ~cjwatson/turnip:delete-repo-with-non-utf8-files into turnip:master
Proposed by
Colin Watson
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | 8b2a05a4696de94c595e3405b84724a28c07b690 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/turnip:delete-repo-with-non-utf8-files |
Merge into: | turnip:master |
Diff against target: |
37 lines (+15/-0) 2 files modified
turnip/api/store.py (+4/-0) turnip/api/tests/test_api.py (+11/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson (community) | Approve | ||
Tom Wardill (community) | Approve | ||
Review via email: mp+359051@code.launchpad.net |
Commit message
Fix deletion of repositories with non-UTF-8 files
Python 2's shutil.rmtree crashes if you give it a Unicode path to a
directory that contains non-UTF-8 files. Make sure we always give it
bytes.
To post a comment you must log in.
Voting criteria not met /jenkins. ols.canonical. com/online- services/ job/turnip/ 73/
https:/