aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lukes <dafydd.lukes@gmail.com>2020-01-29 13:31:37 +0100
committerJustin M. Keyes <justinkz@gmail.com>2020-02-02 16:21:55 -0800
commit1b20014972bb24d60bc16f07e5c4066421bc7e0a (patch)
tree5fef5e9698f85a6deb82a21e1ab7086f83b947a6
parentbf85cc09098fcbe1209d0951262ef78ef08b9ac2 (diff)
downloadrneovim-1b20014972bb24d60bc16f07e5c4066421bc7e0a.tar.gz
rneovim-1b20014972bb24d60bc16f07e5c4066421bc7e0a.tar.bz2
rneovim-1b20014972bb24d60bc16f07e5c4066421bc7e0a.zip
checkhealth: print -> sys.stdout.write
Co-Authored-By: Peter Lithammer <peter.lithammer@gmail.com>
-rw-r--r--runtime/autoload/health/provider.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/autoload/health/provider.vim b/runtime/autoload/health/provider.vim
index f602684fb5..246bfb5322 100644
--- a/runtime/autoload/health/provider.vim
+++ b/runtime/autoload/health/provider.vim
@@ -489,7 +489,7 @@ endfunction
" sys.executable.
function! s:locate_pythonx(invocation) abort
return s:normalize_path(system(a:invocation
- \ . ' -c "from __future__ import print_function; import sys; print(sys.executable, end=\"\")"'))
+ \ . ' -c "import sys; sys.stdout.write(sys.executable)"'))
endfunction
" If $VIRTUAL_ENV is set, check whether its Python executables will be