diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2017-09-16 02:13:35 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2017-09-16 02:13:35 +0000 |
commit | 309f360240ff7f7d1c0722e18ec6a582bef0eb0e (patch) | |
tree | 7f7daa3ba660ad6c894db35105658fe324cf86c8 /llvm/utils/git-svn/git-llvm | |
parent | 950b19515aeab8119f1b203e3fbd205d10bce29b (diff) | |
download | bcm5719-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-x | llvm/utils/git-svn/git-llvm | 2 |
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 |