spack/var/spack
Tom Payerle 935660e3d5
mysql: explicity cast python command to str in _fix_dtrace_shebang() (#40781)
This should fix issue #40780

We explicitly cast self.spec["python"].command to str in the filter_file
call in _fix_dtrace_shebang to avoid the error
==> Error: TypeError: expected str, bytes or os.PathLike object, not Executable

Not sure why the error is appearing (is it only for specific python versions, etc?),
but the fix should be quite safe.
2024-02-28 13:00:51 -08:00
..
gpg
gpg.mock
repos mysql: explicity cast python command to str in _fix_dtrace_shebang() (#40781) 2024-02-28 13:00:51 -08:00