Skip to content
Snippets Groups Projects
Unverified Commit 35dd9296 authored by Todd Gamblin's avatar Todd Gamblin Committed by GitHub
Browse files

bugfix: handle unicode properly in spack.util.executable (#10186)

- When returning string output, use text_type and decode utf-8 in Python
  2 instead of using `str`

- This properly handles unicode, whereas before we would pass bad strings
  to colify in `spack blame` when reading git output

- add a test that round-trips some unicode through an Executable object
parent fcce8b8d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment