Fix an error detecting pylint features

This commit is contained in:
Cole Robinson 2010-01-27 13:47:53 -05:00
parent a0b23be738
commit b53a3a5e6b

View File

@ -47,7 +47,8 @@ addchecker() {
}
addmsg_support() {
if `pylint --list-msgs | grep -q $1` ; then
out=`pylint --list-msgs`
if `echo $out | grep -q $1` ; then
addmsg "$1"
fi
}