Skip to content

Commit beaa9ac

Browse files
committed
[SPARK-2627] fail check on non-zero status
1 parent 723ed39 commit beaa9ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/lint-python

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pep8 ./python --exclude="cloudpickle.py" \
3030
> "$PEP8_REPORT_PATH"
3131
pep8_status=${PIPESTATUS[0]} #$?
3232

33-
if [ $pep8_status ]
33+
if [ $pep8_status -ne 0 ]
3434
then
3535
echo "PEP8 checks failed."
3636
cat "$PEP8_REPORT_PATH"

0 commit comments

Comments
 (0)