Pylint checker again: calling syntastic#util#parseVersion() is wrong.
This commit is contained in:
parent
8965bd141b
commit
c0f349a4b2
@ -52,7 +52,7 @@ endfunction
|
||||
function s:PylintNew()
|
||||
try
|
||||
let pylint_version = filter(split(system('pylint --version'), '\m, \=\|\n'), 'v:val =~# "^pylint "')[0]
|
||||
let ret = syntastic#util#versionIsAtLeast(syntastic#util#parseVersion(pylint_version), [1])
|
||||
let ret = syntastic#util#versionIsAtLeast(split(matchstr( pylint_version, '\v^\D*\zs\d+(\.\d+)+\ze' ), '\.'), [1])
|
||||
catch /E684/
|
||||
call syntastic#util#error("checker python/pylint: can't parse version string (abnormal termination?)")
|
||||
let ret = -1
|
||||
|
Loading…
Reference in New Issue
Block a user