[llvm] r280579 - Make lit/util.py py3-compatible.
NAKAMURA Takumi via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 2 21:06:38 PDT 2016
Author: chapuni
Date: Fri Sep 2 23:06:37 2016
New Revision: 280579
URL: http://llvm.org/viewvc/llvm-project?rev=280579&view=rev
Log:
Make lit/util.py py3-compatible.
Modified:
llvm/trunk/utils/lit/lit/util.py
Modified: llvm/trunk/utils/lit/lit/util.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/util.py?rev=280579&r1=280578&r2=280579&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/util.py (original)
+++ llvm/trunk/utils/lit/lit/util.py Fri Sep 2 23:06:37 2016
@@ -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
More information about the llvm-commits
mailing list