summaryrefslogtreecommitdiffstats
path: root/llvm/utils/git-svn/git-llvm
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2017-09-16 02:13:35 +0000
committerChandler Carruth <chandlerc@gmail.com>2017-09-16 02:13:35 +0000
commit309f360240ff7f7d1c0722e18ec6a582bef0eb0e (patch)
tree7f7daa3ba660ad6c894db35105658fe324cf86c8 /llvm/utils/git-svn/git-llvm
parent950b19515aeab8119f1b203e3fbd205d10bce29b (diff)
downloadbcm5719-llvm-309f360240ff7f7d1c0722e18ec6a582bef0eb0e.tar.gz
bcm5719-llvm-309f360240ff7f7d1c0722e18ec6a582bef0eb0e.zip
[git] Update the llvm git helper script to work correctly with the
latest Python versions. llvm-svn: 313435
Diffstat (limited to 'llvm/utils/git-svn/git-llvm')
-rwxr-xr-xllvm/utils/git-svn/git-llvm2
1 files changed, 1 insertions, 1 deletions
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
OpenPOWER on IntegriCloud