summaryrefslogtreecommitdiff
path: root/tools/coverity.sh
diff options
context:
space:
mode:
authorEvegeny Vereshchagin <evvers@ya.ru>2018-06-25 22:02:41 +0000
committerEvegeny Vereshchagin <evvers@ya.ru>2018-06-25 22:02:41 +0000
commit1e79d09ef9f7befe5d1e17999b85d89073857e63 (patch)
tree1cc9f777e9239853db56036fa1191e5aebb1afb2 /tools/coverity.sh
parent096eec29cd93adbf1bb70a91d1f9f0d713625125 (diff)
downloadsystemd-1e79d09ef9f7befe5d1e17999b85d89073857e63.tar.gz
coverity.sh: use a comma to separate module names
Otherwise Python bails out with ``` Traceback (most recent call last): File "<string>", line 1, in <module> NameError: name 'json' is not defined ``` See https://travis-ci.org/systemd/systemd/jobs/397490437
Diffstat (limited to 'tools/coverity.sh')
-rwxr-xr-xtools/coverity.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/coverity.sh b/tools/coverity.sh
index 40acbb0411..1fc5b1cf99 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