testing/py3-litex: avoid global exec
Shelling out in the global scope is expensive and in this case not necessary, change the `cut` invocation to parameter substitution. `${foo%:*}` cuts of the `:` and everything that comes after it, which is the same as `| cut -d : -f 1` does.
parent
a17024e1
No related branches found
No related tags found
Please register or sign in to comment