1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

Merge pull request #780 from YunoHost/apps.json

Update change_level.py and travis.yml
This commit is contained in:
Maniack Crudelis 2019-06-02 23:26:36 +02:00 committed by GitHub
commit 39eb6ba648
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -4,4 +4,5 @@ python:
script:
- python -m json.tool official.json
- python -m json.tool community.json
- python -m json.tool apps.json
- for i in ./locales/*.json; do python -m json.tool $i || return 1; done

View file

@ -7,7 +7,7 @@ import json
if __name__ == '__main__':
if len(sys.argv[1:]) < 3:
print "Usage: ./change_level.py <official.json|community.json> <app_id> <level>"
print "Usage: ./change_level.py <apps.json> <app_id> <level>"
sys.exit(1)
app_list_name, app_id, level = sys.argv[1:4]