Minor cleanup.

This commit is contained in:
LCD 47 2013-09-24 21:43:12 +03:00
parent ce198e64bd
commit f79e9d2eda

View File

@ -53,7 +53,7 @@ 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])
catch /E684/
catch /^Vim\%((\a\+)\)\=:E684/
call syntastic#util#error("checker python/pylint: can't parse version string (abnormal termination?)")
let ret = -1
endtry