mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
Fix an error detecting pylint features
This commit is contained in:
parent
a0b23be738
commit
b53a3a5e6b
@ -47,7 +47,8 @@ addchecker() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
addmsg_support() {
|
addmsg_support() {
|
||||||
if `pylint --list-msgs | grep -q $1` ; then
|
out=`pylint --list-msgs`
|
||||||
|
if `echo $out | grep -q $1` ; then
|
||||||
addmsg "$1"
|
addmsg "$1"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user