diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2018-12-23 23:59:58 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-23 23:59:58 -0800 |
commit | 35dd929651c1a610a767e6f6249da514a44eb653 (patch) | |
tree | e9690bd59ab65e82b3bd4b0fd012a7b4e711d7d7 /bin/sbang | |
parent | fcce8b8dc2a265b78ec61b32e1a5154ceedce9ce (diff) | |
download | spack-35dd929651c1a610a767e6f6249da514a44eb653.tar.gz spack-35dd929651c1a610a767e6f6249da514a44eb653.tar.bz2 spack-35dd929651c1a610a767e6f6249da514a44eb653.tar.xz spack-35dd929651c1a610a767e6f6249da514a44eb653.zip |
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
Diffstat (limited to 'bin/sbang')
0 files changed, 0 insertions, 0 deletions