mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-19 02:03:11 +00:00
Make lit/util.py py3-compatible.
llvm-svn: 280579
This commit is contained in:
parent
3a91861e05
commit
268d2fea8e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user