From 1e79d09ef9f7befe5d1e17999b85d89073857e63 Mon Sep 17 00:00:00 2001 From: Evegeny Vereshchagin Date: Mon, 25 Jun 2018 22:02:41 +0000 Subject: [PATCH] coverity.sh: use a comma to separate module names Otherwise Python bails out with ``` Traceback (most recent call last): File "", line 1, in NameError: name 'json' is not defined ``` See https://travis-ci.org/systemd/systemd/jobs/397490437 --- tools/coverity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/coverity.sh b/tools/coverity.sh index 40acbb0411b..1fc5b1cf990 100755 --- a/tools/coverity.sh +++ b/tools/coverity.sh @@ -46,7 +46,7 @@ else if [ "$AUTH" = "True" ]; then echo -e "\033[33;1mCoverity Scan analysis authorized per quota.\033[0m" else - WHEN=`echo $AUTH_RES | python -c "import sys; json; print(json.load(sys.stdin)['next_upload_permitted_at'])"` + WHEN=`echo $AUTH_RES | python -c "import sys, json; print(json.load(sys.stdin)['next_upload_permitted_at'])"` echo -e "\033[33;1mCoverity Scan analysis NOT authorized until $WHEN.\033[0m" exit 0 fi