prevent stderr from messing up the terminal, in the (usual) case of no pylintrc found

This commit is contained in:
Buck Golemon 2012-03-12 12:15:51 -07:00
parent 9f1cdfd92c
commit 1a91488451

View File

@ -7,7 +7,7 @@
function! SyntaxCheckers_python_GetLocList() function! SyntaxCheckers_python_GetLocList()
let makeprg = 'pylint -f parseable -r n -i y ' . let makeprg = 'pylint -f parseable -r n -i y ' .
\ shellescape(expand('%')) . \ shellescape(expand('%')) .
\ ' \| sed ''s_: \[[RC]_: \[W_''' . \ ' \|& sed ''s_: \[[RC]_: \[W_''' .
\ ' \| sed ''s_: \[[F]_:\ \[E_''' \ ' \| sed ''s_: \[[F]_:\ \[E_'''
let errorformat = '%f:%l: [%t%n%.%#] %m,%-GNo config%m' let errorformat = '%f:%l: [%t%n%.%#] %m,%-GNo config%m'
return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat }) return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })