Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Commit 5959468

Browse files
committed
Fix an error detecting pylint features
1 parent 87226db commit 5959468

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/pylint-virtinst.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ addchecker() {
8383
}
8484

8585
addmsg_support() {
86-
if `pylint --list-msgs | grep -q $1` ; then
86+
out=`pylint --list-msgs`
87+
if `echo $out | grep -q $1` ; then
8788
addmsg "$1"
8889
fi
8990
}

0 commit comments

Comments
 (0)