checkhealth: python: do not report pythonx_errs twice (#8045)

They get reported unconditionally as errors below.
This commit is contained in:
Daniel Hahler 2018-02-22 02:37:23 +01:00 committed by Justin M. Keyes
parent c8074e3792
commit 1eb4aff57a

View File

@ -289,9 +289,6 @@ function! s:check_python(version) abort
if empty(pyname)
call health#report_warn('No Python interpreter was found with the neovim '
\ . 'module. Using the first available for diagnostics.')
if !empty(pythonx_errs)
call health#report_warn(pythonx_errs)
endif
endif
if !empty(pyname)