From 309f360240ff7f7d1c0722e18ec6a582bef0eb0e Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Sat, 16 Sep 2017 02:13:35 +0000 Subject: [git] Update the llvm git helper script to work correctly with the latest Python versions. llvm-svn: 313435 --- llvm/utils/git-svn/git-llvm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/utils/git-svn/git-llvm') diff --git a/llvm/utils/git-svn/git-llvm b/llvm/utils/git-svn/git-llvm index 70b63f19949..0d566dac430 100755 --- a/llvm/utils/git-svn/git-llvm +++ b/llvm/utils/git-svn/git-llvm @@ -107,7 +107,7 @@ def shell(cmd, strip=True, cwd=None, stdin=None, die_on_failure=True, start = time.time() p = subprocess.Popen(cmd, cwd=cwd, stdout=subprocess.PIPE, stderr=err_pipe, - stdin=subprocess.PIPE) + stdin=subprocess.PIPE, universal_newlines=True) stdout, stderr = p.communicate(input=stdin) elapsed = time.time() - start -- cgit v1.2.3