diff options
author | Evegeny Vereshchagin <evvers@ya.ru> | 2018-06-26 00:02:41 +0200 |
---|---|---|
committer | Evegeny Vereshchagin <evvers@ya.ru> | 2018-06-26 00:02:41 +0200 |
commit | 1e79d09ef9f7befe5d1e17999b85d89073857e63 (patch) | |
tree | 1cc9f777e9239853db56036fa1191e5aebb1afb2 /tools/coverity.sh | |
parent | coverity.sh: make the script compatible with Python 3 (diff) | |
download | systemd-1e79d09ef9f7befe5d1e17999b85d89073857e63.tar.xz systemd-1e79d09ef9f7befe5d1e17999b85d89073857e63.zip |
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-x | tools/coverity.sh | 2 |
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 |