From 1b20014972bb24d60bc16f07e5c4066421bc7e0a Mon Sep 17 00:00:00 2001 From: David Lukes Date: Wed, 29 Jan 2020 13:31:37 +0100 Subject: checkhealth: print -> sys.stdout.write Co-Authored-By: Peter Lithammer --- runtime/autoload/health/provider.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit