Added backslash on to ensure we get the right msgs.
This commit is contained in:
parent
831d8c54f2
commit
e9120dff7f
@ -154,7 +154,7 @@ function run_pylint {
|
|||||||
PYLINT_INCLUDE+=" stack run_tests.py"
|
PYLINT_INCLUDE+=" stack run_tests.py"
|
||||||
TEE_FN="pylint.log"
|
TEE_FN="pylint.log"
|
||||||
echo "Pylint messages count: "
|
echo "Pylint messages count: "
|
||||||
pylint ${PYLINT_OPTIONS} ${PYLINT_INCLUDE} 2>&1 | tee $TEE_FN | grep 'devstack' | wc -l
|
pylint ${PYLINT_OPTIONS} ${PYLINT_INCLUDE} 2>&1 | tee $TEE_FN | grep 'devstack/' | wc -l
|
||||||
if [ "$?" -ne "0" ]; then
|
if [ "$?" -ne "0" ]; then
|
||||||
echo "Sorry, cannot run pylint ..."
|
echo "Sorry, cannot run pylint ..."
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user