diff options
author | scheibelp <scheibel1@llnl.gov> | 2017-08-14 11:23:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-14 11:23:03 -0700 |
commit | 4d9ef49b49a5f2e3034e26de535e6744251a10fa (patch) | |
tree | efa117f7ad7355a9aeb3488ee6ed1cecb1bc2b4f /README.md | |
parent | 3cce3e3ce4c36cd9330c778cf5599e69b3dc1035 (diff) | |
download | spack-4d9ef49b49a5f2e3034e26de535e6744251a10fa.tar.gz spack-4d9ef49b49a5f2e3034e26de535e6744251a10fa.tar.bz2 spack-4d9ef49b49a5f2e3034e26de535e6744251a10fa.tar.xz spack-4d9ef49b49a5f2e3034e26de535e6744251a10fa.zip |
Decode process stream only for python3
Popen.communicate outputs a str object for python2 and a bytes
object for python3. This updates the Executable.__call__ function
to call .decode on the output of Popen.communicate only for python3.
This ensures that Executable.__call__ returns a str for python2 and
python3.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions