1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

Make lit/util.py py3-compatible.

llvm-svn: 280579
This commit is contained in:
NAKAMURA Takumi 2016-09-03 04:06:37 +00:00
parent 3a91861e05
commit 268d2fea8e

View File

@ -76,7 +76,7 @@ def capture(args, env=None):
raise subprocess.CalledProcessError(cmd=args,
returncode=p.returncode,
output="{}\n{}".format(out, err))
return convert_string(out)
return out
def which(command, paths = None):
"""which(command, [paths]) - Look up the given command in the paths string